Answer the question
In order to leave comments, you need to log in
What is the best way to implement automatic password change?
Good afternoon.
There is a self-written CRM running on PHP+MySQL.
In fact, there are several databases within one system:
BD_main
BD_office1
BD_offce2
Each, except for main, has a USERS table with a standard set of fields, such as ID, Name, pass, mail.
There was a need to change the password once a month for the entire database and send it all to Mail.
Another trick is that in the database passwords are in MD5, a letter to the mail, of course, is stupidly text without hashing.
What is the best way to integrate all this? Any sample scripts?
Answer the question
In order to leave comments, you need to log in
Try several options:
Everything is very bad. This system is completely insecure. The user should simply be prompted to change the password immediately after logging in with the old password. What you have now is a scam.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question