CodeIgniter 2 + Sparks + PHP ActiveRecord Part 2: The User Model

In this episode we create a user model and focus on securely storing passwords in a database table by using sha256 encryption. We go over the reasons why using MD5 is no longer acceptable and we create a password validation method.

Be sure to watch in HD.

Download the source for part 2.