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

Andrew Podner: PHP 5.5 Preview: New Password Hashing API

PHPEasyStep.com: Sending forgotten password

SitePoint PHP Blog: How to Create a Unique 64bit Integer from String

Rob Allen: Simple logging of ZF2 exceptions

SitePoint PHP Blog: PHP UTF-8 0.1


Community Events





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


community release list project threedevsandamaybe wordpress code introduction application language configure series developer bugfix framework interview library api podcast laravel

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