Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPit.net:
Handling passwords safely in PHP
Feb 06, 2006 @ 13:17:10

PHPit.net is back today with another new tutorial - this time it concerns the safe handling of passwords in your PHP scripts.

If you're ever going to create a script that involves users or passwords, which is very likely, you'll probably run across security issues with handling the passwords. You can't just store the passwords in clear text in your database, and great care must be used when managing the passwords (for example during login).

In this article I will show you everything that you have to think about when handling passwords in PHP, and how to solve some common problems.

They offer suggestions like storying them hashed (md5 or sha1), protecting them with a salt, SSL certificates, and how to manage their use with things like cookies and sessions.

tagged: handle password safely logging signup md5 sha1 ssl handle password safely logging signup md5 sha1 ssl

Link:


Trending Topics: