User Authentication and permissions

J

Jacko

This may be a bit too open ended but what is the best way to add user
authentication and security services to a ruby on rails app. Is there
a standard API or Framework to achieve this?
 
J

John Joyce

This may be a bit too open ended but what is the best way to add user
authentication and security services to a ruby on rails app. Is there
a standard API or Framework to achieve this?
There are a few ways, one is well covered in the AWDWR book.
The other is similar but cleaner for you. A plugin called:
acts_as_authenticated

Essentially things are separated into different controllers.
Controllers that require authentication or login of some kind are not
accessible without that. That means the URL/URI's generated by their
methods/actions cannot be accessed without authentication.
Everything in the controllers that don't require authentication are
accessible. (basically, though this is all a very simplified
description, but Rails does make it all pretty easy)

But check out the Ruby Talk list at Google groups.
That's the best place to ask Rails-specific questions.
This list may get you some answers, as Rails does use Ruby and
libraries written in Ruby. Depends on the topic
 
G

Gregory Brown

But check out the Ruby Talk list at Google groups.
That's the best place to ask Rails-specific questions.
This list may get you some answers, as Rails does use Ruby and
libraries written in Ruby. Depends on the topic

That is the mailing list you are responding to right now. If you're
on comp.lang.ruby or ruby-forum, the majority of your traffic is
coming from RubyTalk, FWIW.

And please *don't* ask Rails questions here, send them along to the
Ruby on Rails list. The folks here have made it clear that we'd prefer
to see the traffic go to where its most likely to get the right
answers.
 
J

John Joyce

That is the mailing list you are responding to right now. If you're
on comp.lang.ruby or ruby-forum, the majority of your traffic is
coming from RubyTalk, FWIW.

And please *don't* ask Rails questions here, send them along to the
Ruby on Rails list. The folks here have made it clear that we'd prefer
to see the traffic go to where its most likely to get the right
answers.
Oops, that was an early morning coffee moment, I meant Rails Talk at
Google groups!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,314
Members
47,990
Latest member
MauricioEl

Latest Threads

Top