# Whitch of the authentication methodes to choose?

**URL:** <https://www.ruby-forum.com/t/whitch-of-the-authentication-methodes-to-choose/106613>\
**Category:** Rails\
**Created:** [June 12, 2007, 1:11pm UTC](https://www.ruby-forum.com/t/whitch-of-the-authentication-methodes-to-choose/106613 "2007-06-12T13:11:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spitfire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Post date:** [June 12, 2007, 1:11pm UTC](https://www.ruby-forum.com/t/whitch-of-the-authentication-methodes-to-choose/106613/1 "2007-06-12T13:11:40Z")

</div>

Hi List!

I was searching the web for a HowTo about authatication or session  
handling in rails.  
Finally I found [Peak Obsession](http://wiki.rubyonrails.com/rails/pages/Authentication)  
and read:

“This article is part of the confusing world of Authentication in  
Rails. Feel free to get lost in a gazillion of nearly useless and/or  
outdated Wikipages.”

Hmm, that’s funny, but reading more I found out there are two or three  
methods whitch seem to be not as bad as announced. I’m talking about  
“Acts\_as\_authenticated”, “SaltedHashLoginGenerator” or  
“LoginGenerator”.

But now, which to choose?

What I need is a secure authetication method. But what of them is  
still secure, or which is outdated or whatever? What are you using, or  
suggesting to me? Are there other alternatives?

Thank you all!

Daniel

---

<div class="post-metadata">

**Author:** ![spitfire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Post date:** [June 12, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/whitch-of-the-authentication-methodes-to-choose/106613/2 "2007-06-12T19:37:43Z")

</div>

The “gazillion” nearly useless pages probably is referring to the  
gazillion different generators and plugins that have been written,  
some of which are no longer supported by their authors.  
Authentication is such a common case, you would think it a perfect  
match for a plugin, but my experience is that users tend to be tied  
not just with authentication but also with other aspects of the  
application. This can lead to unexpected results when you log someone  
in with your fine plugin, then expect that user to has\_many :posts or  
something like that.

I hope this explains a bit about why so many pages and methods exist  
for authentication.

On Jun 12, 2007, at 4:10 AM, Spitfire wrote:

> outdated Wikipages."  
> suggesting to me? Are there other alternatives?
> 
> Thank you all!
> 
> Daniel
> 
> >

Steve R.  
removed\_email\_address@domain.invalid  
[http://www.calicowebdev.com](http://www.calicowebdev.com)
