On 6 Jan 2009, at 20:59, Sid Bachtiar wrote:

> Hmm, it is only a login form. Symfony actually has good built in
> security functionalities even without sfGuardPlugin.

Well, its got SOME security functionality. I wouldn't call it "good".

sfGuard appears to be the accepted standard with Symfony, so I'd  
recommend using it.

> I also do not like how in sfGuardPlugin, the profile is separated from
> the user on different tables (should be in the same table somehow).

You can extend the sf_guard_user table however you want - there's  
absolutely no reason you couldn't add more columns to that table.

However, it's recommended you don't - keep the table lean and mean to  
keep it fast, and also to maintain the standard behavior so that  
somebody other than yourself can easily maintain the code. There's a  
lot of noise about two separate tables, but realistically, you don't  
often need the data in sf_guard_user once a user has logged in.

> I have implemented the auto redirection by storing REQUEST_URI and it
> is working well. I just wanted to know if there's a more built in ways
> to do it.

Not that I know of. I guess the best thing to do would be to look at  
sfGuard, and see how it accomplishes the same.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to