The restful authentication plugin can use standard HTTP auth when the
client is requesting XML, as will be the case when someone is hitting
an RSS feed. So, simply using that plugin, with the :login_required
before filter in place for your feed action, will cause the
authentication challenge to happen when a feed reader attempts to
load the feed.
--
Benjamin Curtis
Founder, Catch the Best
http://catchthebest.com/
http://www.bencurtis.com/ -- personal blog
On Sep 15, 2007, at 2:03 AM, Dipesh Batheja wrote:
>
> Hi I am trying to create a RSS feed in rails which requires
> authentication. Can somebody point me on how to add authentication to
> RSS feeds.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---