Originally posted by PyroX
A, send the user their password via email before you encrypt it, a " welcome to my site " message
B, I don't know for sure if you know this, but compare the encrypted password to the password in the table to validate users
C, if this is for a site that has not real high security data, just use base64_encode and base64_decode for your passwords. ( By sending them over email, your creting a security risk anyway)
D, after you have sent them their password, require a password change the next time they logon.
wowo thanks PyroX - I need all the 'clues' I can get!
a, I do this when they sign up... my question has more to do with the reality that they will loose this and need to have their password resent to them.
b, are you saying that when I authenticate users that have a password of say 'nyc' and I compare it against say '1c1d49e11dc84179' (what it looks like in my sql table) - there will be a match?
c, base64_encode/decode ??? are these PHP variables? or some format for the field in mysql? Also... Is it really dangerous to simply have my PW field in MYsql just should the non encrypted pwds? This is not for a high security commerce site, but more of a community contact type of site (with a current listing of about 40,000 users and very busy)
d, Not really sure what you mean here. why would I want them to be prompted to change when they log in again?