Part of the EllisLab Network
   
1 of 6
1
EzAuth 0.4 (beta) Released! - An ACL/user management CodeIgniter Project
Posted: 16 October 2007 03:24 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  99
Joined  06-21-2007

Hi, I’ve started a CodeIgniter project called EzAuth which acts as a simple ACL/user management system. It uses sessions and MySQL tables to take care of:

- user registration (with optional e-mail verification)
- user login
- lost account retrieval
- password changing
- user session management
- password protecting certain pages or sections of your website

It’s built as a model instead of a library because apparently PHP4 doesn’t like instantiating objects within library class constructors. It’s also very lightweight and flexible because EzAuth is only one file.

I use it for my websites and I think it’s great because of its flexibility. Try it out!

There’s a fully working online demo that shows how it works. Hope you like it!

http://bizwidgets.biz/solutions/ezauth/

 Signature 

Canvas Grafix - Personalized Kids Wall Art
GraphicLeftovers.com - A Haven for professional designers and illustrators.
Digital Leftovers - St Louis Web Design and Development

Profile
 
 
Posted: 16 October 2007 06:28 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  825
Joined  04-20-2006

That’s interresting. What are the differences with an existing system like Freakauth?

 Signature 

All CodeIgniter resources into one place?
http://www.codeigniterdirectory.com

Buildon.net - The PHP Frameworks Showcase - Add your links!
http://www.buildon.net

My website: Création de sites Genève, Too Pixel

Profile
 
 
Posted: 16 October 2007 06:42 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  99
Joined  06-21-2007

For the same reasons I love CodeIgniter! I like to make applications that are lightweight, flexible, and don’t take a lot to learn or install.

EzAuth is only ONE file! Everything is in there, the code is compact and self explanatory I think (the login function logs the user in, the authorization function authorizes a user for a certain page, etc.). There are no un-necessary functions or database tables.

I tried to make EzAuth as easy as CodeIgniter by providing in-depth documentation in the same format as CodeIgniter’s, a fully functional online demo, and a downloadable example CodeIgniter application that is easy enough to figure out without reading a manual. The only thing missing is a video tutorial!

Also, I wanted something that was easy to integrate with all of my other projects without extra configuration. In conclusion, I think it’s really easy to figure out and implement in your own applications.

 Signature 

Canvas Grafix - Personalized Kids Wall Art
GraphicLeftovers.com - A Haven for professional designers and illustrators.
Digital Leftovers - St Louis Web Design and Development

Profile
 
 
Posted: 16 October 2007 08:11 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  825
Joined  04-20-2006

That’s a good argumentation Danoph, and I also like lightweight things.

Your library looks very interresting, I will give it a try on a next project and give you some feedback because I was using Freakauth in some past project, but there are too much things that we don’t need in it (it’s a nice application, that work good, but really too heavy coded)

 Signature 

All CodeIgniter resources into one place?
http://www.codeigniterdirectory.com

Buildon.net - The PHP Frameworks Showcase - Add your links!
http://www.buildon.net

My website: Création de sites Genève, Too Pixel

Profile
 
 
Posted: 16 October 2007 08:13 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  99
Joined  06-21-2007

Thanks, elitemedia. I am very open to suggestions for the program and documentation also.

 Signature 

Canvas Grafix - Personalized Kids Wall Art
GraphicLeftovers.com - A Haven for professional designers and illustrators.
Digital Leftovers - St Louis Web Design and Development

Profile
 
 
Posted: 19 October 2007 11:16 AM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  12
Joined  08-06-2007

I’m defiantly going to use this on my next project. I do have one question though, is it possible to turn the user name into the persons email address?

Many thanks

Profile
 
 
Posted: 19 October 2007 12:08 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  99
Joined  06-21-2007

sure, off the top of my head, you could just ask a user for his e-mail address, and in the background you would enter his e-mail as the username and e-mail address

so he would login using his e-mail address as the username and his regular password that he signed up using.

you would do all of that in the controller without having to modify the ezauth model at all.

let me know if that works out!

 Signature 

Canvas Grafix - Personalized Kids Wall Art
GraphicLeftovers.com - A Haven for professional designers and illustrators.
Digital Leftovers - St Louis Web Design and Development

Profile
 
 
Posted: 19 October 2007 08:38 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  412
Joined  09-20-2007

whats ACL mean, isn’t that a tendon in your foot?

 Signature 

FriendFeed > Plurk > Twitter

Profile
 
 
Posted: 19 October 2007 08:47 PM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  8
Joined  08-22-2007

Thanks, great job! That´s exactly what i was looking for!

Don´t forget to post it on the Wiki.

Profile
 
 
Posted: 20 October 2007 03:52 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Avatar
Rank
Total Posts:  99
Joined  06-21-2007

yes, an ACL I believe is a tendon in your foot or knee, or in between…

An ACL is also an access control list, which lets you have different users with different roles or permissions throughout your website. In other words, you can have registered users who are administrators, regular users, and users with custom-defined roles specified by you, the website developer. I think EzAuth is the easiest to learn and implement while also having a small footprint (one file). It doesn’t take a lot to use EzAuth with your website!

Thanks for all the feedback guys, I appreciate it.

 Signature 

Canvas Grafix - Personalized Kids Wall Art
GraphicLeftovers.com - A Haven for professional designers and illustrators.
Digital Leftovers - St Louis Web Design and Development

Profile
 
 
Posted: 21 October 2007 09:15 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  99
Joined  06-21-2007

Hi guys.

After using EzAuth in one of my new projects, I ran into some tedious things while using multiple controllers and improved the implementation of EzAuth:

- A very, very minor addition: If you only have one program you want to use EzAuth with, you don’t have to specify a program name. The program name defaults to ‘default’.
- If you are using separate controllers and are using the EzAuth model, instead of going to each controller and protecting each function, you can automatically protect all the functions within a controller by using ‘all’ as the protected page.
- A bug was fixed in the user guide with the example login function.

The newly updated model can be downloaded at http://bizwidgets.biz/solutions/ezauth/

 Signature 

Canvas Grafix - Personalized Kids Wall Art
GraphicLeftovers.com - A Haven for professional designers and illustrators.
Digital Leftovers - St Louis Web Design and Development

Profile
 
 
   
1 of 6
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 721, on January 06, 2010 09:38 AM
Total Registered Members: 115017 Total Logged-in Users: 57
Total Topics: 122449 Total Anonymous Users: 2
Total Replies: 647331 Total Guests: 559
Total Posts: 769780    
Members ( View Memberlist )