Simple Form Authentication in cakePHP 1.2.x.x



There has been a lot of questions about user authentication lately so I thought it was appropriate to create a tutorial that covered the very basics


In this tutorial we'll cover all aspects of MVC in an authentication role, logging a user in, maintaining a session, and restricting unauthorized access to controller actions.


Though this article is based on CakePHP 1.2.x, the same concepts apply in 1.1.x and most of the code can be reused.