English
 AlbumFAQAlbumSearchAlbumMemberlist  • AlbumRegisterAlbumLog in
Reply to topic
PHP + Mysql Password Tip
Author Message
Report this post Reply with quote
Post PHP + Mysql Password Tip 
Say for example you have a login and register script which uses the database to store a password. Most people MD5 encrypt the password then add it to the database. If someone can unencrypt that they'll find the password, a way to fix this is by adding something called a salt to the password. A salt is a randomly generated MD5 encrypted string, add that to the database then add the salt to the password then encrypt that, so it's md5($pass + $salt).

This will make it very secure and virtually impossible to unencrypt.

For more info put "php login with salts" in google you should find something.

User is offline View user's profile Send private message
Report this post Reply with quote
Post  
interesting - thanks for the tip, i gotta try that sometime


_________________
It's not a real party until somebody dies
User is offline View user's profile Send private message
Display posts from previous:
Reply to topic Quick Reply
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum