News Feed
Sections




News Archive
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
February 06, 2006 @ 07: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.

0 comments voice your opinion now!
handle password safely logging signup md5 sha1 ssl handle password safely logging signup md5 sha1 ssl


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Pimpin Harry’s pretty bluescreen

Slawek Lukasiewicz's Blog: Zend Framework: logging with Firebug and FirePHP

Tobias Schlitt's Blog: Last chance: Know a lot about PHP in 2 days, for free!

Oscar Merida's Blog: Using bcrypt to store passwords

Lorna Mitchell: Logging to Stdout with Monolog


Community Events





Don't see your event here?
Let us know!


threedevsandamaybe tips developer interview introduction zendserver framework opinion api series bugfix community laravel language list symfony library release podcast deployment

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework