Anybody know of a good tutorial showing how to use Rails with web site membership? i.e. use a filter to authenticate, store member info in session/cookie, login, send passwords, etc. thanks csn __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
I''m not aware of a tutorial, but the Model Security generator does this decently. I believe the new login engine has a decent implementation of this as well, but haven''t gotten around to checking it out yet. You could either use one of those tools directly, or generate a sample project and rifle through the code to get a feel for how it''s done, and then re-implement it in your project. HTH... Cheers, Mark On 11/9/05, CSN <cool_screen_name90001-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Anybody know of a good tutorial showing how to use > Rails with web site membership? i.e. use a filter to > authenticate, store member info in session/cookie, > login, send passwords, etc. > > thanks > csn > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
* Model Security: http://perens.com/FreeSoftware/ModelSecurity/Tutorial.html * Authentication: http://penso.info/rails/auth_generator/ * Authorization: http://randomoracle.org/2005/09/24/extensible-authorisation-for-rails * AccessControlList: http://wiki.rubyonrails.com/rails/pages/AccessControlListExample * ActiveRBAC: https://rbaconrails.turingstudio.com/trac/wiki * SaltedHashLoginGenerator: http://wiki.rubyonrails.org/rails/pages/SaltedHashLoginGenerator * LoginGeneratorACLSystem: http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem * LoginGenerator: http://wiki.rubyonrails.com/rails/pages/LoginGenerator * LoginEngine:
Peter Donald wrote: > * Model Security: http://perens.com/FreeSoftware/ModelSecurity/Tutorial.html > * Authentication: http://penso.info/rails/auth_generator/ > * Authorization: http://randomoracle.org/2005/09/24/extensible-authorisation-for-rails > * AccessControlList: http://wiki.rubyonrails.com/rails/pages/AccessControlListExample > * ActiveRBAC: https://rbaconrails.turingstudio.com/trac/wiki > * SaltedHashLoginGenerator: http://wiki.rubyonrails.org/rails/pages/SaltedHashLoginGenerator > * LoginGeneratorACLSystem: http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem > * LoginGenerator: http://wiki.rubyonrails.com/rails/pages/LoginGenerator > * LoginEngine: ... Am I the only one to feel very uncomfortable with this abundance? In the good old days, all you needed was 2 books and 1 core. Why is a "basic" and vital feature like authentication not in the core? And I18n? That blows me! Alain Ravet