News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The Bakery:
Basic User Authentication in (CakePHP) 1.2.x
January 15, 2007 @ 10:27:00

The Bakery has created a guide for CakePHP framework users to follow to set up a basic user authentication system in their application.

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.

The tutorial provides the different parts you'll need - the database requests, the model, controller, and view where you can just cut and paste. The wrap it up with a bit of explanation of how the parts fit together and a sample view of a login form to interface with their backend.

1 comment voice your opinion now!
cakephp framework user authentication tutorial basic cakephp framework user authentication tutorial basic


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: PHP with Apache on Windows? Piece of Cake!

Joseph Crawford's Blog: CodeIgniter

DZone.com: PHP Yaf (Yet Another Framework) Is Very Fast

Lorna Mitchell's Blog: Getting Dates from Week Numbers in PHP

Joshua Thijssen's Blog: Password hashing and salting


Community Events





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


introduction community release language application laravel library symfony tool security voicesoftheelephpant podcast update framework version opinion series interview package composer

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