Forum: Ruby on Rails https protocol... forcing for a controller...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3da4ed7ea16825fead6120d70dc7da43?d=identicon&s=25 JSeidel (Guest)
on 2007-04-03 02:39
(Received via mailing list)
I need to secure a portion of my applicaction using SSL/https. I have
downloaded ssl_requirement which works fine if there are a few
discrete methods in a controller.  However, one of my controllers uses
a display/UI plugin that has many, many methods and I would like to be
able to just say that this controller must always use https...

Is there any straight-forward way or parameter to orce this one
controller to use SSL always? Having to redirect every call (which is
what ssl_requirement does) would be very slow and cumbersome.

Thanks...jon
This topic is locked and can not be replied to.