Google Groups Home
Help | Sign in
Recommended User Authentication setup?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
703designs  
View profile
 More options May 29, 2:57 am
From: 703designs <thomasmal...@gmail.com>
Date: Wed, 28 May 2008 09:57:42 -0700 (PDT)
Local: Thurs, May 29 2008 2:57 am
Subject: Recommended User Authentication setup?
I'm working with Cake right now, and I thought that ACL was my answer
to this question, but it seems that Cake's ACL (ACL in general, I
suppose) only deals with roles, etc:

"It should be noted that ACL is *not* a system that is meant to
authenticate users. You should already have a way to store user
information and be able to verify that user's identity when they enter
the system."

Well, this is all good and well, but the user authentication systems I
develop, while being functional, leave quite a bit to be desired, and
I really wouldn't trust them beyond the limited purposes for which
I've deployed them. To put it simply, I expect that a framework like
this one would make developing a sane user authentication system a bit
easier for a developer like myself.

So, how should I go about developing a user authentication system in
Cake? Are these links the best starting point:
* http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful...
* http://groups.google.com/group/cake-php/browse_thread/thread/871ff4c5...

Or should I look elsewhere? A search of "user authentication" under
Code in the Bakery returns nothing.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John David Anderson  
View profile
 More options May 29, 3:13 am
From: John David Anderson <anderson.jo...@gmail.com>
Date: Wed, 28 May 2008 11:13:01 -0600
Local: Thurs, May 29 2008 3:13 am
Subject: Re: Recommended User Authentication setup?

On May 28, 2008, at 10:57 AM, 703designs wrote:

ACL != Auth. It's *related* to authentication, but so is the  
FormHelper. The criticism you're leveling here doesn't quite make sense.

In any case, I might check out the AuthComponent (which works well  
with the ACL stuff). Chris' tute should be a good starting point.

-- John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
703designs  
View profile
 More options May 29, 3:22 am
From: 703designs <thomasmal...@gmail.com>
Date: Wed, 28 May 2008 10:22:54 -0700 (PDT)
Local: Thurs, May 29 2008 3:22 am
Subject: Re: Recommended User Authentication setup?
I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well
aware that the two are separate.I must have made myself unclear. In
any case, I'll take a look at Chris' tutorial. It's a bit old, can I
expect it to work with recent nightlies?

On May 28, 1:13 pm, John David Anderson <anderson.jo...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Hartjes  
View profile
 More options May 29, 3:25 am
From: "Chris Hartjes" <chart...@gmail.com>
Date: Wed, 28 May 2008 13:25:27 -0400
Local: Thurs, May 29 2008 3:25 am
Subject: Re: Recommended User Authentication setup?

On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:

> I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well
> aware that the two are separate.I must have made myself unclear. In
> any case, I'll take a look at Chris' tutorial. It's a bit old, can I
> expect it to work with recent nightlies?

Yes, it should be fine as the Auth component hasn't really changed
much since I wrote it.

--
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
703designs  
View profile
 More options May 29, 3:44 am
From: 703designs <thomasmal...@gmail.com>
Date: Wed, 28 May 2008 10:44:45 -0700 (PDT)
Local: Thurs, May 29 2008 3:44 am
Subject: Re: Recommended User Authentication setup?
You mention putting putting the auth component in app_controller.php.
From the manual, "The AppController class can be defined in /app/
app_controller.php and it should contain methods that are shared
between all of your application’s controllers. It extends the
Controller class which is a standard CakePHP library." How do I
configure AppController without removing existing functionality? My
PHP OOP is rusty.

On May 28, 1:25 pm, "Chris Hartjes" <chart...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dardo Sordi Bogado  
View profile
 More options May 29, 3:54 am
From: "Dardo Sordi Bogado" <dardoso...@gmail.com>
Date: Wed, 28 May 2008 14:54:27 -0300
Local: Thurs, May 29 2008 3:54 am
Subject: Re: Recommended User Authentication setup?
Have a look at the CakePHP AppController, it is in
cake/libs/controller/app_controller.php:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
703designs  
View profile
 More options May 29, 4:02 am
From: 703designs <thomasmal...@gmail.com>
Date: Wed, 28 May 2008 11:02:32 -0700 (PDT)
Local: Thurs, May 29 2008 4:02 am
Subject: Re: Recommended User Authentication setup?
I assumed it already had some methods and attributes. Good to know
that I can freely edit AppModel and AppController.

On May 28, 1:54 pm, "Dardo Sordi Bogado" <dardoso...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dardo Sordi Bogado  
View profile
 More options May 29, 4:55 am
From: "Dardo Sordi Bogado" <dardoso...@gmail.com>
Date: Wed, 28 May 2008 15:55:18 -0300
Local: Thurs, May 29 2008 4:55 am
Subject: Re: Recommended User Authentication setup?

> I assumed it already had some methods and attributes. Good to know
> that I can freely edit AppModel and AppController.

Yes App(Model|Controller|Helper) are well defined points of extension,
cake is amazing.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
aranworld  
View profile
 More options May 29, 5:49 am
From: aranworld <arancarli...@gmail.com>
Date: Wed, 28 May 2008 12:49:31 -0700 (PDT)
Local: Thurs, May 29 2008 5:49 am
Subject: Re: Recommended User Authentication setup?
Chris' tutorials are definitely still relevant.

In case you haven't seen it yet, I have created a sample website with
downloadable source code,
which demonstrates the integration of Auth and ACL in a CakePHP
project:

http://aranworld.com/article/170/cakephp-acl-and-auth-sample-website

This should hopefully also clarify the various roles that Auth and ACL
play in protecting a website access:

http://aranworld.com/article/164/cakephp-acl-tutorial-auth-component-...

On May 28, 11:55 am, "Dardo Sordi Bogado" <dardoso...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google