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

Adam Jensen's Blog: Flexible User Authentication with Zend_Auth

Nick Halstead's Blog: Simple use of DIGG API for your blog

Johannes Schluter's Blog: Goto your Christmas presents with PHP 5.3

php|architect: Pro-PHP Podcast Interview with Jacob Taylor

SitePoint PHP Blog: Risks and Challenges of Password Hashing


Community Events





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


interview code testing refactor framework series wordpress community laravel unittest podcast list developer install api introduction threedevsandamaybe opinion language release

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