Re: AuthComponent - Alternate ways to hash passwords?

2007-09-10 Thread Sonic Baker
Aha, Thanks for clearing that up. I didn't realise you were referring specifically to the security component. I thought you meant in general user forms. Cheers, Sonic On 9/10/07, francky06l <[EMAIL PROTECTED]> wrote: > > > Yes it does, I mean for me .. Because when a user enters his password >

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-10 Thread francky06l
Actually to the Auth component, not the Security one .. Cheers On Sep 10, 10:42 pm, "Sonic Baker" <[EMAIL PROTECTED]> wrote: > Aha, > > Thanks for clearing that up. I didn't realise you were referring > specifically to the security component. I thought you meant in general user > forms. > > Cheer

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-10 Thread francky06l
Yes it does, I mean for me .. Because when a user enters his password I want to verify the strength (ie : 6 characters, at least a numeric and different from user name). So when you use "password" as field name (in your add view), you will get it already hashed (in your controller $this->data['Use

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-10 Thread Sonic Baker
On 9/6/07, francky06l <[EMAIL PROTECTED]> wrote: > > > > - do not use the name "password" in the views (login or other user > management views), but another "dummy" name. Handle this dummy name > (hash or whatever and replace in your password field) prior to save. Why not use the name 'password'?

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-07 Thread francky06l
Seems really perfect timing : http://groups.google.com/group/cake-php/browse_thread/thread/9026125f87c173f2 On Sep 7, 11:10 am, MrTufty <[EMAIL PROTECTED]> wrote: > Thanks, it'll give me a starting point to look at! > > I was thinking I could probably just extend the AuthComponent, > override a

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-07 Thread MrTufty
Thanks, it'll give me a starting point to look at! I was thinking I could probably just extend the AuthComponent, override a few functions and build it up that way. Will try that when I get some dev time to sit down and try it. On Sep 6, 12:46 pm, francky06l <[EMAIL PROTECTED]> wrote: > I had th

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-06 Thread francky06l
I had the same problem, and some others ..I use the Auth components but made few changes in the application wihtout modifications to the core : - do not use the name "password" in the views (login or other user management views), but another "dummy" name. Handle this dummy name (hash or whatever

AuthComponent - Alternate ways to hash passwords?

2007-09-06 Thread MrTufty
Hi all, Just a quick question - I've searched, but found nothing definitive. I'm building my site with Cake and I've decided to use the built-in ACL/Auth stuff rather than write my own (mostly because I'm sure you're all a lot smarter than I am, and if it works for you, then it'll probably work