Auth User Authentication Library

Source: Internet
Author: User
Tags codeigniter

For the Auth library, the following are recommended:
1. Ion_auth, based on Redux rewrite, very good certification library, a lot of foreign use, a few of the latest ci2.0.2 based on open source systems (such as doveforum) used it, support CI 2.0 and above, the 2010 version has been stable, is still in the update.
Advantages: This library in addition to user authentication, but also set up a simple framework of permissions, support admin, group structure, and can be used directly, there is a complete user_guide, very convenient, and then CI English community in the hot hold, the use is more secure.
Cons: Captcha (graphics verification code) is not supported, so a separate integration of the graphics verification function is also required.
Links: https://github.com/benedmunds/CodeIgniter-Ion-Auth/
Introduction and Tracking: http://codeigniter.com/forums/viewthread/145263/
Download: <ignore_js_op>benedmunds-codeigniter-ion-auth-marster-08dc2d3.zip (85.3 KB, download number: 367) , this is 1.0 version, 2.0 version of the author thinks there are bugs, use with caution.

2. Tank_auth, based on Dx_auth rewrite, also very good, many people re-use, Support CI 2.0, is no longer updated, the latest version 1.09 should be written in February 2011.
Advantages: Built-in support CAPTCHA (graphics verification Code) and reCAPTCHA (Foreign love with the third-party graphics verification site, Google maintenance), easy to use, the author rewrote the time, but also fixed some dx_auth security issues, such as the replacement of unsafe MD5 hashing algorithm.
Shortcomings: By the author rewritten into a simple user authentication library, remove the original Dx_auth framework, if you want to do admin, role management, need a separate frame or redevelopment, and user_guide incomplete, can only rely on Dx_auth original description content, combined with the source code In order to understand. The model classes in models and the databases defined in config/fx_auth.php have not yet been fully mapped.
Links: http://www.konyukhov.com/soft/tank_auth/
Introduction and Tracking: http://codeigniter.com/forums/viewthread/110993/
Download: <ignore_js_op>tank_auth1.09.zip (195.78 KB, download number: 109) , although the authors were not updated after 1.09, they remained tracked in the CI community.

In addition, once circulated a very broad dx_auth is mainly incompatible with ci2.0, some have also made a compatibility adjustment:
Download: <ignore_js_op>Dx_auth_for_20.rar (167.96 KB, download number: 583)

3. Fx_auth, the author is Chinese, based on Tank_auth rewrite, although the author claims to rewrite from Dx_auth, as long as the comparison of source code, you can see the shadow of Tank_auth. The latest version 1.10, which should also be inherited by the Tank_auth version number, was completed in April 2011 and is not currently visible. Support CI 2.0 or above.
Advantages: Retain the advantages of tank, on the basis of tank restore some of the original Dx_auth permissions framework, support admin, role structure, can be used directly.
Disadvantage: But I do not know why, there are half dx the original permissions in the framework of the relevant methods are not restored, such as Is_role, if the project needs, to develop their own, and DX, tank, no complete user_guide, can only rely on Dx_auth original description content, and consult the source code to master, and the author should be to be compatible with the previous Dx_auth, so changed the advantages beyond recognition.
Links: http://www.mixti.cn/solution/201104/13/n356.shtml
Forum inside Related: http://codeigniter.org.cn/forums/thread-9463-1-1.html, have more detailed introduction.

Download: <ignore_js_op>Fx_auth_modified.rar (224.35 KB, download number: 333) , I modified the Fx_auth, corrected the original model file, and config/fx_auth.php consistent, and added is_role,is_banned two methods, hope to help. Unzip directly into the CI project folder and install the. sql file from the root directory to the database. Later found that there are some problems, recently no time to get, we use the time to pay attention to.

There are netizens for tank_auth and supplemented the role, from the code to see more than Fx_auth specifications, specific links: https://bitbucket.org/mtsandeep/tank-auth-with-roles/
Download: <ignore_js_op>mtsandeep-tank-auth-with-roles-a65b2788bff6.zip (198.19 KB, download number: 111)

4.freakauth_light: User Login/exit, user registration, remember password, change password, lock site's reserved area, a daemon: Manage user, admin admin, it allows you to set 4 access levels (from Super Administrator to guest), then set a " Check "method. It can be set in the Controller's constructor, or it can be set in a specified function. If the user calls the controller (or the specified function), the code checks whether he or she is logged in.
Download: <ignore_js_op>freakauth_light_1.1.zip (261.07 KB, download number: 176)

5.Backend Pro: This is the Certification library contains the most comprehensive content, in addition to user login, registration, password, authentication, and even include a more complete background, management users, permissions and roles, Just now only 0.61 version, it is unclear why the author stopped updating since 10, but CI English community many people use this library, it should be because there is more code to inherit.
Links: Http://www.kaydoo.co.uk/projects/backendpro
Introduction and Tracking: http://codeigniter.com/forums/viewthread/76078/
Compatibility fix with PHP5: http://www.kaydoo.co.uk/2010/04/patch-backendpro-0-6-1-for-use-with-php-5
Download: <ignore_js_op>backendpro0.6.1.zip (368.79 KB, download number: 249)

6.BitAuth: Is the English community inside a relatively new certification library, I read the code, write the rules in the distance, clean, and easy to use, but also use the latest Phpass 0.3 encryption algorithm, support user-user group-role authentication, where the role is defined in config, cannot be used for business logic. But the current version number is only 0.1.1, popular than ion Auth, we can choose to use.
Links: Https://github.com/danmontgomery/codeigniter-bitauth
Introduction and Tracking: http://codeigniter.com/forums/viewthread/197267
Download: <ignore_js_op>danmontgomery-codeigniter-bitauth-0.1.1-0-g61c75ff.zip (

Auth User Authentication Library

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.