theChrisWalker.net

“Lithium RAD Framework rocks! ”

says Chris

QR Code for Permalink
DarkAuth for CakePHP

with 5 comments

I thought I’d add a page to satisfy those of you who may have arrived here from the Cookbook, or anywhere else one of the DarkAuth pages was linked from.

I don’t really have much to do with this Component any more, although it still works great! I found that the built in Auth Component is plenty powerful enough, even if it doesn’t quite work work how I would have designed it.

Anyway, here’s the component (tested with CakePHP 1.2 RC3) DarkAuthComponent. Enjoy! It’s highly commented, so hopefully you’ll be able to work out what it does and how to use it…

Written by Chris

February 6th, 2009 at 10:41 am

Posted in Code

Tagged with

5 Responses to 'DarkAuth for CakePHP'

Subscribe to comments with RSS or TrackBack to 'DarkAuth for CakePHP'.

  1. #1

    I’ve found this Component very useful. Thanks for all your hard work on it.

    Mike

    17 Feb 09 at 07:53

  2. #2

    I thank you too. Is a great component.!!!

    JuanSaab

    21 Mar 09 at 01:38

  3. #3

    Good work.
    But I could only use when I removed the line 262(a return;) which allowed the access of all users in the restricted area.
    Is this correct?

    Andre

    29 Oct 09 at 11:03

  4. #4

    I ran into the same issue with return statement on line 262. You need to remove that line if you want to restrict access.

    Bruce

    16 Dec 09 at 18:37

  5. #5

    Thank you all. As I mentioned, I tend to use the in-built AuthComponent now myself, but I’m glad people have benefited from it.

    Chris

    11 Mar 10 at 12:54

Leave a Reply