Displaying 2 results from an estimated 2 matches for "ssl_allowed".
Did you mean:
esw_allowed
2006 Mar 30
4
SSL Requirement plugin
Is there any way to have the plugin require SSL to be used for all
actions in a controller and just specify the ones you dont want to
require SSL using ssl_allowed?
class ApplicationController < ActiveRecord::Base
include SslRequirement
ssl_required *.*
Many thanks.
Also I could of course combine this with local.request? so that when
developing locally http is allowed, but when in production the
ssl_required kicks in.
--
Posted via http:...
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still
confused. Please point me in the right direction. Here''s the
question:
I have a rails3 site (www.mysite.com). I want to have some pages use
ssl, and some not. It appears the require_ssl approach is pre-Rails3
and there are other alternatives. Most of the posts I read talk about
using a diff domain for ssl