More Secure Passwords with PHP
==============================

Posted on Wednesday, 4th September 2013 by admin

Update 2: This article has been superceeded by a more to-the-point article which focuses more on using the newer functions.

Update 1: PHP 5.5 implements new password functions to simplify working with passwords. Even if you are using an earlier version of PHP, you should look at these functions. You can learn more at the end of this article.

Website owners who maintain user details have a great responsibility. Apart from keeping the database safe and sound, you will have to ensure that user passwords are kept safe and secure.

A separate article will discuss protecting your database from SQL injection attacks using prepared statements. This article will discuss making passwords harder to crack.

Many sites, some which should have known better, have had their user databases compromised. This is bad enough, but if the miscreants get their evil hands on user passwords, this may allow them to attack accounts held on other sites.