简体   繁体   中英

PHPmyadmin password of users

I've a question about PHPmyadmin. I've created a database for a social and i've setted this things in the table -id -user -password -email

The question is: can i see the password of the users that are registered to my website or not? because now i can see the fisrt user that was registered password but the others have a strange alphanumerics value. thanks.

If you can see the others password as plaintext then you are doing something wrong, or you are Facebook;)

Password should be hashed and then stored in the database of your system. They shouldn't be in plaintext. You can hash passwords using PHP's built-in password handling functionality .

To sum up: Yes you can see the password in the database if you store them as plaintext directly. If you hash them, then you will see what you called "strange alphanumerics values".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM