Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm currently creating a complete web application using Rails 3 to familiarize myself with its inner workings and to gain a better appreciation of a working web application's moving parts. (Plus, since I'm still working on my degree, I hope that it will give me a better idea of what's BS in my education requirements and which weaknesses/skills I should focus on.)

The example application I'm working on is an ecommerce site, and I've already configured the backend, routes, controllers, and so on.

As part of the application, I'd like to integrate a second layer of security on top of the one Rails already provides for user authentication. However, I've been unable to find any on Google, with the exception of OAuth - which, from my understanding, is meant to secure API calls.

While I could roll my own secure authentication system, I'm only in my second year of college and recognize that A) I know little about security, and B) there are developers that know much more about security that are working on open-source projects.

What are some actively developed open-source security packages or frameworks that can be easily added to Rails? Pros and cons are not necessary, as I can do the research myself.

P.S. I'm not sure whether I posted this in the right SE site; please migrate to SO or Security if it is more appropriate there.

share|improve this question
ruby-toolbox.com is a good resource for all gems Ruby-related. You could start there. – sevenseacat Apr 20 '12 at 5:20
Are you looking for security packages or auth packages? auth is just one small aspect of security. – Michael Slade May 2 '12 at 7:57

closed as not constructive by gnat, thorsten müller, Walter, Matthieu, Mark Trapp Sep 3 '12 at 8:01

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

1 Answer

If you want an authentication system, take a look at Devise. That will handle logging people in, sign ups etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.