c# - Encrypt password in database -
this question has answer here:
i have password, let's is:
testabc123
and stored in database, password field in database showing password testabc123
. want when user open database, password field no longer showing testabc123
, user can't access. user know password does.
any help?
thank you
your answer appreciated!
do not store plain-text passwords in database. use hash function on password such string stored in database unreadable. user can't string, if knows it. must still make sure other user cannot change password field, otherwise won't help, because copy hash of own password there.
check other questions (or google) on storing passwords in database. there should lot of information on around.
Comments
Post a Comment