Articles tagged with "authentication"
obAuth Component Tutorial
This is a tutorial on how to use obAuth component: http://bakery.cakephp.org/articles/view/130
[Read more] obAuth Simple Authentication
Authenticate your users and secure your controller actions from users belonging to certain groups. Or simply secure your controller actions to let any authenticated user to access it.
How to use: http://bakery.cakephp.org/articles/view/121
Some features:
1. User authentication
2. User groups supported
3. Protect action access with 1 line of code
[Read more] How to use: http://bakery.cakephp.org/articles/view/121
Some features:
1. User authentication
2. User groups supported
3. Protect action access with 1 line of code
othAuth 0.5 documentation
the long awaited documentation of othAuth, this article covers the new version of othAuth 0.5
[Read more] dAuth v0.3 views controller and javascript
the login, register, userinfo and change_password views; the usersController, and d_auth, sha1 javascripts for dAuth v0.3
[Read more] Simple Form Authentication in 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.
[Read more] 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.
RBAuth (a spinoff from othAuth)
I want to say thanks to othman ouahbi for his wonderful Authentication Component, this subversion is just a spin-off of othAuth.
I also need to give a big WARNING:
+ This component is still under heavy development
+ I'm not an expert coder, nor do I have that much experience with Cake in general. The code is still messy, and sometimes hard-coded.
The above warning is also one of the main reason I want to post this here, I want to receive as many feedbacks from you guys as possible to improve this Component!
[Read more] I also need to give a big WARNING:
+ This component is still under heavy development
+ I'm not an expert coder, nor do I have that much experience with Cake in general. The code is still messy, and sometimes hard-coded.
The above warning is also one of the main reason I want to post this here, I want to receive as many feedbacks from you guys as possible to improve this Component!
RBAuth (a spinoff from othAuth)
This is a brief tutorial for othAuth component spin-off, which is called RBAuth for now (Roles based authentication)
First of all, I want to say thanks to othman ouahbi for his wonderful Authentication Component, this subversion is just a spin-off of othAuth.
[Read more] First of all, I want to say thanks to othman ouahbi for his wonderful Authentication Component, this subversion is just a spin-off of othAuth.
Real World Access Control
Cake AC is a very powerful but generic access control sytem. Lets face it, the only real use for Access Control is User permissions. So let us look at the common every day use for Access Control.
[Read more] YACCA Yet Another Cake Component for Auth
A simple but powerful Cake Auth Component
[Read more] DarkAuth - another way...
I wrote this initially for Cake 1.1 - basing it on ideas from "obAuth" by Steve Oliveira, but upgraded it to 1.2 rather than using the built in Auth component, mostly because this works how I want it to and, once setup, is really easy to use.
Main Features:
- Per action / per controller / inline access control
- Optional Group support for HABTM and User BelongsTo Group associations
- A "super-user" functionality allowing one group automatic access granted
- Optional tamper-proof Cookie support
- Custom password hashing to suit your Model
[Read more] Main Features:
- Per action / per controller / inline access control
- Optional Group support for HABTM and User BelongsTo Group associations
- A "super-user" functionality allowing one group automatic access granted
- Optional tamper-proof Cookie support
- Custom password hashing to suit your Model
DarkAuth v1.3 - an alternative Auth
An update to the original DarkAuth component (http://bakery.cakephp.org/articles/view/darkauth-another-way), with increased efficiency and easier access control. It works exactly how I want to, so it might not be your first choice, but it's a solid alternative to the inbuilt AuthComponent.
Main Features:
- Per action / per controller / inline access control
- Group support for HABTM and BelongsTo Group associations, or disable groups control completely.
- A "super-user" functionality allowing one group automatic access granted
- Optional tamper-proof Cookie support
- Custom password hashing to suit your Model
- Passes User Info and Access Matrix to view
- Methods to access User Info / Access Matrix in Controller
[Read more] Main Features:
- Per action / per controller / inline access control
- Group support for HABTM and BelongsTo Group associations, or disable groups control completely.
- A "super-user" functionality allowing one group automatic access granted
- Optional tamper-proof Cookie support
- Custom password hashing to suit your Model
- Passes User Info and Access Matrix to view
- Methods to access User Info / Access Matrix in Controller
AuthHelper
This AuthHelper provide access to user information on view side. If you have used OthAuth helper before, this helper replicate exactly the same functionalities.
[Read more] 'Remember me' - a component to add upon basic auth
A simpler component on the same lines: http://dsi.vozibrale.com/articles/view/rememberme-component-the-final-word
This component works on top of the basic auth component and provides an 'remember me' option.
The fact that the user is logged in is stored in cookies - no need for additional database tables.
It is stored together with secret verification codes so it cannot be faked by changing the cookies => it is secure.
HTTP basic authentication with users from database
This is a few lines of code and explanations explaining how to get HTTP Auth to check against your normal users table.
[Read more] CKEditor 3.x - New FCKEditor Version
Now FCKEditor is called CKEditor. And here is an running Version of CKEditor and CakePHP.
CKEditor is an WYSIWYG Javascript Editor.
[Read more] CKEditor is an WYSIWYG Javascript Editor.
Latest Comments