[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

User Authentication and permissions

jmilunsky

7/26/2007 8:42:00 PM

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?

4 Answers

Gregory Brown

7/27/2007 12:15:00 AM

0

On 7/26/07, Jacko <jmilunsky@hotmail.com> wrote:
> 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?

http://groups.google.com/group/rubyon...
http://www.google.com/search?&q=rails+auth...

John Joyce

7/29/2007 4:29:00 AM

0


On Jul 26, 2007, at 3:44 PM, Jacko wrote:

> 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

Gregory Brown

7/29/2007 3:28:00 PM

0

On 7/29/07, John Joyce <dangerwillrobinsondanger@gmail.com> wrote:

> 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.

John Joyce

7/30/2007 3:51:00 AM

0


On Jul 29, 2007, at 10:28 AM, Gregory Brown wrote:

> On 7/29/07, John Joyce <dangerwillrobinsondanger@gmail.com> wrote:
>
>> 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.
>
Oops, that was an early morning coffee moment, I meant Rails Talk at
Google groups!