Part of the EllisLab Network
   
7 of 36
7
FreakAuth_light authentication library/admin application released!
Posted: 06 February 2007 07:40 PM   [ Ignore ]   [ # 91 ]  
Grad Student
Rank
Total Posts:  44
Joined  09-20-2006

dude… you act like i try to remove a mother’s babe… i simply give some suggestions to expand the usability of this project. most of these are simple things which even can be made from the config-file. if you are close to suggestions, i would be sad to shut up and eventually discard this library. i have some knowledge on usability+ideas, which i like to share to give strength to a cool addition to an already cool-project such as CI. please dont get me wrong… these are only thoughts and what i discover on customization of your library.

Profile
 
 
Posted: 07 February 2007 08:44 AM   [ Ignore ]   [ # 92 ]  
Summer Student
Total Posts:  7
Joined  02-07-2007
obsesif - 06 February 2007 07:40 PM

dude… you act like i try to remove a mother’s babe… i simply give some suggestions to expand the usability of this project. most of these are simple things which even can be made from the config-file. if you are close to suggestions, i would be sad to shut up and eventually discard this library. i have some knowledge on usability+ideas, which i like to share to give strength to a cool addition to an already cool-project such as CI. please dont get me wrong… these are only thoughts and what i discover on customization of your library.

@Obsesif
You sir are a cad…. A bounder and a cad.

@Dan,
I’m having trouble downloading the auth plugin from the website… is it still available?

Profile
 
 
Posted: 07 February 2007 12:51 PM   [ Ignore ]   [ # 93 ]  
Research Assistant
RankRankRank
Total Posts:  390
Joined  10-02-2006

I started testing FreakAuth a little more this evening and found the following:

/auth/index is the user log-in page -> attempted admin log-ins from this interface return invalid results
/adm/index is the admin log-in page -> admins log in OK (of course)

EDIT: As to the rest of the deleted dummy talk by yours truly, remember to turn on yer cookies wink

Works great.

 Signature 

CI version?
From SVN.

Profile
 
 
Posted: 07 February 2007 01:15 PM   [ Ignore ]   [ # 94 ]  
Grad Student
Rank
Total Posts:  76
Joined  01-08-2007

Correct me if I’m wrong but, I think the CAPTCHA system exposes a security threat. A malicious user could flood the server with countless of CAPTCHA images (in the tmp folder), causing major lag to the server.

Profile
 
 
Posted: 07 February 2007 01:33 PM   [ Ignore ]   [ # 95 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  514
Joined  12-05-2006
siric - 07 February 2007 01:15 PM

Correct me if I’m wrong but, I think the CAPTCHA system exposes a security threat. A malicious user could flood the server with countless of CAPTCHA images (in the tmp folder), causing major lag to the server.

If they do thousends of request in 20min yes.
Anyway if you read carefully the still ‘minimalistic’ user guide, you might have discovered that captcha images:

[EDITED]CAPTCHA images get deleted every time a new captcha get displayed if the CAPTCHA images are older than 20 minutes.

You can change the timing to less of 20min modifying line #756 of the FreakAuth_library.

I also considered to generate images dinamically but the CI userguide states Image Manipulation Class:

Note: If you choose the dynamic setting, only one image can be shown at a time, and it can’t be positioned on the page. It simply outputs the raw image dynamically to your browser, along with image headers.

It might be possible to implement the library banning an IP after a given numbers of tries. (storing the number of tries in the ci_session table).

 Signature 

FreakAuth_light: pluggable & extendable authentication library that works on CI 1.5.X

CI SWIFT MAILER: 44% less memory than PHPMailer at double speed

Using Zend Framework components in Code Igniter

Profile
 
 
Posted: 07 February 2007 02:53 PM   [ Ignore ]   [ # 96 ]  
Grad Student
Rank
Total Posts:  44
Joined  09-20-2006

i guess ip-banning would be more an addition to the heavier freakauth. still, its a nice idea…

Profile
 
 
Posted: 08 February 2007 12:02 PM   [ Ignore ]   [ # 97 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  152
Joined  01-21-2007

Dan… is there a way similiar to get Username that I can get the ID of the logged in user?

Profile
 
 
Posted: 08 February 2007 01:06 PM   [ Ignore ]   [ # 98 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  514
Joined  12-05-2006

Check out the user guide, section Tip&Trics; (just updated).

 Signature 

FreakAuth_light: pluggable & extendable authentication library that works on CI 1.5.X

CI SWIFT MAILER: 44% less memory than PHPMailer at double speed

Using Zend Framework components in Code Igniter

Profile
 
 
Posted: 08 February 2007 02:02 PM   [ Ignore ]   [ # 99 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  152
Joined  01-21-2007

great… thanks

Profile
 
 
Posted: 09 February 2007 04:13 AM   [ Ignore ]   [ # 100 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  514
Joined  12-05-2006
Capt. Miraculo - 07 February 2007 08:44 AM

@Dan,
I’m having trouble downloading the auth plugin from the website… is it still available?

Do you mean the Auth library from the wiki or FreakAuth_light?

Did you manage to download it?

 Signature 

FreakAuth_light: pluggable & extendable authentication library that works on CI 1.5.X

CI SWIFT MAILER: 44% less memory than PHPMailer at double speed

Using Zend Framework components in Code Igniter

Profile
 
 
Posted: 09 February 2007 06:35 AM   [ Ignore ]   [ # 101 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  514
Joined  12-05-2006

Hey guys i hope you enjoyed FreakAuth_light and that you tested it so far.

I just want to ask you which are in your opinion the priorities for version 1.0.3-alpha release:

Some things that have been pointed out so far:

1) group admin/user tables together
2) make template path really customisable ($config[’FreakAuthL_template_dir’] )
3) don’t make it dependent from mod_rewrite
4) FreakAuth_light.php library-> make function_encode PHP4 compliant
5) ACL

I would also like to recall you the spirit of this forum thread:

a) test the library/application
b) report bugs
c) make improvement suggestions

Please don’t get offended if not all your suggestions get satisfact/developed.

I also wanna highlight that you are not only invited to point out things/suggestion, but also to provide solutions sending me scripts/hacks to improve them!

Cheers for your contribution

 Signature 

FreakAuth_light: pluggable & extendable authentication library that works on CI 1.5.X

CI SWIFT MAILER: 44% less memory than PHPMailer at double speed

Using Zend Framework components in Code Igniter

Profile
 
 
Posted: 09 February 2007 07:21 AM   [ Ignore ]   [ # 102 ]  
Research Assistant
RankRankRank
Total Posts:  390
Joined  10-02-2006

I am struggling a bit with this. A log in session basically expires after the first log in. I am then eternally redirected to auth/index when calling a function in the secured controller. I also found this to be the case earlier, and setting cookies to be domain wide in config.php seemed to resolve the issue. However, it’s back. The cookie is set and not expired. No errors in the log. Anyone else seeing similar problem?

Suggestion (for the sake of completeness):

Add logout info to the documentation: call $this->freakauth_light->logout(); from function in your controller.

 Signature 

CI version?
From SVN.

Profile
 
 
Posted: 09 February 2007 07:28 AM   [ Ignore ]   [ # 103 ]  
Summer Student
Total Posts:  7
Joined  02-07-2007
danfreak - 09 February 2007 04:13 AM
Capt. Miraculo - 07 February 2007 08:44 AM

@Dan,
I’m having trouble downloading the auth plugin from the website… is it still available?

Do you mean the Auth library from the wiki or FreakAuth_light?

Did you manage to download it?

FreakAuth_light…
Yeah, I tried again about 3 hours later and it downloaded fine. I’m not sure what the issue was. Response time was _low_.

One thing I wanted to ask (and was going to investigate maybe next week…) is mod_rewrite absolutely necessary to use FreakAuth? I wanted to deploy it on a IIS server and they don’t have a concept like mod_rewrite (which I assume is why CI doesn’t use mod_rewrite by default) :(
There are a few IIS addons, but it’s a shared hosting so I can’t use them anyway.

As it is, I was going to try to fix FreakAuth to not require mod_rewrite…

Thanks for a great CI library tho… It’s unreal. I guess I got a bit cheesed off with obsesif… it’s OK to make suggestions, but if you really want them you should be will to help… (putting on flame proof suit)

Profile
 
 
Posted: 09 February 2007 07:33 AM   [ Ignore ]   [ # 104 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  514
Joined  12-05-2006
Capt. Miraculo - 09 February 2007 07:28 AM

One thing I wanted to ask (and was going to investigate maybe next week…) is mod_rewrite absolutely necessary to use FreakAuth? I wanted to deploy it on a IIS server and they don’t have a concept like mod_rewrite (which I assume is why CI doesn’t use mod_rewrite by default) :(

It should already work without mod_rewrite but you should:

1) delete the .htaccess file from the root directory

2) in your application/config/config.php change your $config[‘index_page’] to

$config['index_page'] = "index.php";

Let me know!

also try to have a look in previous pages for some other fixes on the fly about version 1.0.2-alpha
(they will be included in version 1.0.3-alpha)

 Signature 

FreakAuth_light: pluggable & extendable authentication library that works on CI 1.5.X

CI SWIFT MAILER: 44% less memory than PHPMailer at double speed

Using Zend Framework components in Code Igniter

Profile
 
 
Posted: 10 February 2007 11:01 PM   [ Ignore ]   [ # 105 ]  
Summer Student
Total Posts:  11
Joined  01-20-2007

Is there anything in the library to prevent duplicate user registrations based on either username or email?  I am looking through the code, but don’t see anything to prevent this yet.

Profile
 
 
   
7 of 36
7
 
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 719, on June 06, 2008 10:16 AM
Total Registered Members: 77566 Total Logged-in Users: 13
Total Topics: 101557 Total Anonymous Users: 2
Total Replies: 544401 Total Guests: 212
Total Posts: 645958    
Members ( View Memberlist )
Newest Members:  tnealsemperjrawhallshiusbozzlynobluffkatiejameshsmith101dddougalcamping