Really Simple Auth Component

by afterxleep
Since the first releases of CakePHP, the authentication component seemed overkill for small projects, where simple user/pass/access_level is required, so I decided to create this simple Authentication component to allow simple User access level on all our apps. The aim is to keep the component as simple as possible that can be implemented in less than 10 minutes along your site.

Component is called bAuth, and is very simple to use. It will allow you to perform the following tasks in your applications with very little code.

  1. Authenticate users, based on Username/Password and access level
  2. Restrict access to certain Controller functions based on access level
  3. Handle Sessions, and store basic user information in the Session

In next releases it will also allow to perform Cookie Based authentication and password remembering.

You can find and download the latest release from the Google Code page, here: http://code.google.com/p/cakephp-bauth/

Report

More on Components

Advertising

Comments

  • biro posted on 05/19/11 08:56:33 AM
    I do not see in the code a logic for the access level. What if some actions ( you call them Controller functions?) need to be accessed only by admins?
  • steinkel posted on 01/15/11 03:18:12 AM
    Check this plugin https://github.com/jedt/spark_plug if you need a plugin-like system, facebook integration, per action/controller/plugin permissions and a backend to manage it all.

login to post a comment.