In this article, we are going to discuss about the various authentication library for the CodeIgniter PHP Framework. Codeigniter still does not has a native authentication library. Many people try to build thier own authentication library. Now we can find few good Codeigniter authentication library, they are free as well.
I would like to suggest some of Codeigniter authentication library.
Tank Auth
Tank Auth is an authentication library for PHP-framework CodeIgniter. It's based on DX Auth, although the code was seriously reworked.
Features
DX Auth
DX Auth is an authentication library for Code Igniter. It's goal to enable you to easily include secure and easy to use authentication library to your project, while giving you the flexibility to choose from simple authentication system to full fledged authentication system.
DX Auth is also build with internationalization in mind, so every string is available in language file. (Except the examples because that is your code, not the library).
It's based on CL Auth 0.2.5 beta developed by Jason Ashdown.
Features
DX Auth is tested in CI 1.7.0, but should be working for above version.
CodeIgniter-Ion-Auth
Redux Auth 2 had a lot of potential. It's lightweight, simple, and clean, but had a ton of bugs and was missing some key features. So we refactored the code and added new features.
Community Auth
Community Auth is a user authentication application for CodeIgniter. It is completely unique, and not based on anyone's previous work. If you've come here looking for a CodeIgniter authentication library, then please keep in mind that Community Auth is more than just a library. Community Auth is distributed with example controllers, models, views, and should be considered a project foundation.
Features
I would like to suggest some of Codeigniter authentication library.
Tank Auth
Tank Auth is an authentication library for PHP-framework CodeIgniter. It's based on DX Auth, although the code was seriously reworked.
Features
- Basic auth options (login, logout, register, unregister).
- Very compact (less than 20 files and 4 DB-tables).
- Username is optional, only email is obligatory.
- Using phpass library for password hashing (instead of unsafe md5).
- Counting login attempt for bruteforce preventing (optional). Failed login attempts determined by IP and by username.
- Logging last login IP-address and time (optional).
- CAPTCHA for registration and repetitive login attempt (optional).
- Unactivated accounts and forgotten password requests auto-expire.
- Strict MVC model: controller for controlling, views for representation and library as model interface.
- Language file support.
- View files contain only necessary HTML code without redundant decoration.
- Most of the features are optional and can be tuned or switched-off in well-documented config file.
- Login using username, email address or both (depending on config settings).
- Registration is instant or after activation by email (optional).
- "Remember me" option.
- Forgot password (letting users pick a new password upon reactivation).
- Change password or email for registered users.
- Email or password can be changed even before account is activated.
- Ban user (optional).
- User Profile (optional).
- CAPTCHA support (CI-native and reCAPTCHA are available).
- HTML or plain-text emails.
DX Auth
DX Auth is an authentication library for Code Igniter. It's goal to enable you to easily include secure and easy to use authentication library to your project, while giving you the flexibility to choose from simple authentication system to full fledged authentication system.
DX Auth is also build with internationalization in mind, so every string is available in language file. (Except the examples because that is your code, not the library).
It's based on CL Auth 0.2.5 beta developed by Jason Ashdown.
Features
- Basic auth (Login, logout, register, change password).
- Remember me.
- Login using username or email address or both (depend on config settings).
- Forgot password.
- Ban user.
- Last login IP address and time (optional).
- Email activation (optional).
- User Profile (optional).
- Role based (admin, user, moderator, etc). Inheritance also supported (optional)
- Restrict page based on URI and role (optional).
- Custom permission for each role (optional).
- Login attempt (optional). You can use this to display catpcha after specified try to login to prevent bot.
- Event feature (For example: You can put your own code like PM welcome message after user activated, etc).
- Captcha (optional, native and reCAPTCHA is available).
- Simple admin panel (So you can customize it, include it into your own admin panel, or delete if you don't need it).
- Most of the feature is optional, means you can turn it off in config file, delete it, or just don't use it.
DX Auth is tested in CI 1.7.0, but should be working for above version.
CodeIgniter-Ion-Auth
Redux Auth 2 had a lot of potential. It's lightweight, simple, and clean, but had a ton of bugs and was missing some key features. So we refactored the code and added new features.
Community Auth
Community Auth is a user authentication application for CodeIgniter. It is completely unique, and not based on anyone's previous work. If you've come here looking for a CodeIgniter authentication library, then please keep in mind that Community Auth is more than just a library. Community Auth is distributed with example controllers, models, views, and should be considered a project foundation.
Features
- User Authentication (User Login)
- Access Granted by Level / Role
- Access Granted by Role Group
- Content Switching in Views
- Limits Failed Login Attempts
- Limits Login to a Single Device (Default)
- Deny Access by IP (Requires Local Apache Configuration File)
- Persistent Login (Remember Me) (Turned Off by Default)
- Forgotten Password and Username Recovery
- New User Registration
- Off by Default
- Instant Registration Mode
- Registration by Email Verification Mode
- Registration by Admin Approval Mode
- User Account Update
- Self Update
- Update by Superior Role
0 comments:
Post a Comment