Forum Moderators: coopster
Depending on the level of security you want implemented on your site, you may not want to store unencrypted passwords in your database. Another option would be to use the md5 [php.net] function on a new password and store it in a CHAR(32) field. Then, if a user forgets their password:
Adds a higher level of trust and security.
Trust maybe. Security....not really....I don't think. If you send the original password anyone who reads the email can get in. If you send a new password anyone who reads the email can get in. The whole assumption is that the person reading the email is the correct person. Or am I missing something :-)
JAG
I can't secure their email account or make sure their isp is secure or their cpu itself for that matter.
I can make sure that my systems are secure and that no passwords are stored in my system that will compromise anything. If I can't read their password then no one else can either.
The thing is that once I have MD5'd the original I can't even send it to them.
This is true for the 4500+ machines I control that are directly on the Internet for me as well. I also have a couple in a different datacenter that are not directly connected that store other sensative and I keep secured by other means. Those don't have the same software security because it's not needed and serve different functions than the direct connect ones.
I do forget sometimes that most people run all their machines directly connected in which case you are absolutely correct :-)
JAG