Re: [Rails] Roll your own authentication?
On Mon, May 6, 2013 at 12:38 PM, Linus Pettersson
<linus.pettersson@gmail.com> wrote:
> Hi!
>
> I watched this video the other day: http://vimeo.com/39498553
> where they argue that it may be a better idea to roll your own
> authentication solution using has_secure_password instead of using, for
> instance, Devise.
>
> I started a new project using Rails 4 today and need authentication. I'm
> thinking about creating my own using has_secure_password for learning
> purposes and also to make it more customizable (not sure what I actually
> need yet).
>
> Anyway, what are your thoughts on this subject? Do you usually use gems like
> Devise or just use your own solutions?
Authentication and authorization are often vital functions; rolling my
own would be interesting as an exercise, but I would rather rely on
something that has seen thousands of uses across as many projects and
eyes. Implementing my own, I also have to create all the tests, and
the chance of me forgetting something in that case are great.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home