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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
JSeidel (Guest)
on 2007-04-03 04: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.

This topic is locked and can not be replied to.