Get flash to fully experience Pearltrees
Please note that password hashing is often wrongly referred to as "password encryption". Hashing is a more appropriate term since encryption is something that is supposed to be easily reversible. phpass (pronounced "pH pass") is a portable public domain password hashing framework for use in PHP applications. It is meant to work with PHP 3 and above, and it has actually been tested with at least PHP 3.0.18 through 5.4.x so far.
Preface ¶ The Portable PHP password hashing framework allows advanced password hashing offering increased security over simple MD5- or SHA1-hashed passwords. phpass is already in use in some larger projects such as WordPress (since v2.5), Drupal 7 and phpBB 3. Installation ¶ Fetch the latest version of phpass from here (At the time of this writing, that is v0.3), and extract the contained PasswordHash.php to application.extensions . Preparing Yii Configuration ¶
I wanted to write up a strong post on Access Control Lists in Yii , for controlling who can do what in an application. I still will, of course, but since authorization depends upon authentication, I thought it necessary to discuss Yii’s authentication system first. And, as happens with me, in writing about that, and how you would customize the authentication process , I had to break the subject down into two posts. So here’s the first of an informal three-part series on authentication and authorization in Yii.
This tutorial describes how to use Yii to develop a blog application shown as the blog demo which can be found in the Yii release files. It explains in detail every step to be taken during the development, which may also be applied in developing other Web applications. As a complement to the Guide and the Class Reference of Yii, this tutorial aims to show practical usage of Yii instead of thorough and definitive description. Readers of this tutorial are not required to have prior knowledge about Yii.