Answer the question
In order to leave comments, you need to log in
What data should be kept encrypted?
If I want to store user details in a database, such as their full address, should it be stored encrypted? For example, I know that a password hash is usually stored (I understand that hashing != encryption), about other data, I mostly saw that they are stored in clear text. Or is it still necessary to store some data such as an address encrypted?
I just understand that if someone hacks the database, it will be very easy to get data about users, if I didn’t encrypt it
Answer the question
In order to leave comments, you need to log in
I will express an unpopular point of view.
If someone fucked your database, then you are covering a known part of the body.
Make 3 calls Display
level
Business logic
Database access level
Everything that comes from above should be logged and passed through a sieve of checks. Only the error identifier unique for each case is given up. And in the database, store at least open passwords, according to normal, this information should not rise above the first level.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question