S
S
Stepgor2020-09-11 11:15:24
MongoDB
Stepgor, 2020-09-11 11:15:24

Why shouldn't you store passwords in a database?

Why shouldn't you do that? After all, you can get data from mongodb only with authorization or only on the local machine. And two conditions:
1. Only one person has access to the server.
2. I will not write code that sends passwords.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2020-09-11
@Stepgor

Passwords need to be stored in the database, but not passwords, but their hash, because the database can be stolen, more than one person can work on the project, one of whom can steal the database, and a bunch of other reasons

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question