On 9/8/07, Matt <[EMAIL PROTECTED]> wrote:
>
> I've starting my first cake site, yum cake!
>
> One of the first decisions I've wondering I've trying to make is to do
> my own auth system or use one of the many being actively developed. I
> was hoping for some feedback on what others have found what has
> worked.

Are you talking about Authentication (where you verify that people
have a valid login and password for a site) or Access Control (where
you determine if someone has the proper privileges to access a
particular page).  People often mix the two together.

If you want to use Authentication and some really simple Access
Control, you can use CakePHP's Auth component.  Then, by specifying
that you wish to use either a method in the controller or a method in
a model you can do simple access control.  I have done this on two
different sites now, both CDC projects (one internal, one under
development for a client and not ready to show the world yet).

I was thinking about this while outside putting fertilizer on my lawn
in a vain attempt to improve it's scrubby appearance and I think that
I need to do a blog post about how to use Auth, collecting all the
information I've seen around plus my experience with it as well.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to