Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMS user table - encrypting passwords or not?

Status
Not open for further replies.

jimoblak

Instructor
Oct 23, 2001
3,620
US
I am developing a content management system where web page content is stored in MySQL with the help of PHP. A table of users/authors/editors includes the username, email, and password. Is there any reason to encrypt the passwords so that they cannot be directly read from the database? The password that the user enters at log-in could be encrypted and matched to the encrypted password already stored in the database.

Is there any real need for this encryption on a CMS? If someone compromises the MySQL database so that they can read passwords in plain text, they could just as easily alter the CMS article data found elsewhere. Is there some other security scenario that I am missing that should prompt me to use password encryption? It seems that password encryption is not necessary for my application.

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top