Rails 3.1.1 makes it super easy to force ssl communication in production
by setting the following flag in the config/environments/production.rb
file:
# Force all access to the app over SSL, use Strict-Transport-Security,
and use secure cookies.
config.force_ssl = true
I want to only require https (or ssl) for a few selected screens, e.g.
login, change_password etc.
Is there an easy way for doing that?
Bharat
--
Posted via http://www.ruby-forum.com/.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.