JonasE Posted January 16, 2007 Share Posted January 16, 2007 Hello all,I hope this is in the right forum. This is my first PHP project as most of my work so far has been in Rails...I am currently developing a PHP application for a small company to be run on their Intranet (no external access).For the user section I am planning to just use MD5 for encryption of passwords, as only one person will be administering the application. My question is, is there a way for me to include a MD5 encrypted password in the initial database setup script? I.E. can I store an already encrypted password for a user in the .sql file used to setup the database for the application? I will not set this up on site, which is why this is a bit of a problem for me... How do you guys usually get around this issue?Thanks,Jonas Link to comment https://forums.phpfreaks.com/topic/34357-phpmysql-deployment-question/ Share on other sites More sharing options...
trq Posted January 16, 2007 Share Posted January 16, 2007 You'll need to elaberate a little. You want to setup a default password and give this to your client to use as the initial login?Simply ru your chosen password through md5 and store that as the default in the database, give the client the origianal. Link to comment https://forums.phpfreaks.com/topic/34357-phpmysql-deployment-question/#findComment-161691 Share on other sites More sharing options...
JonasE Posted January 16, 2007 Author Share Posted January 16, 2007 Thanks Thorpe.I thought that was all I needed to do, but just wanted some reassurance that was the "correct" way to do it!Jonas Link to comment https://forums.phpfreaks.com/topic/34357-phpmysql-deployment-question/#findComment-161695 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.