Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question