Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more little docu fixes

  • Loading branch information...
commit 668054f0b97678f71d5b4e811d3854daf125dcfa 1 parent 620c77a
@mkristian authored
Showing with 7 additions and 5 deletions.
  1. +3 −3 README.textile
  2. +4 −2 enforce-ssl-gem/README.textile
View
6 README.textile
@@ -1,14 +1,14 @@
h1. Enforce SSL for you controllers
-p. with the advent of hijacking tools for dummies "firesheep":http://codebutler.github.com/firesheep/ the need for securing your sessions with ssl is there.
+p. with the advent of hijacking tools for dummies like "firesheep":http://codebutler.github.com/firesheep the need for securing your sessions with ssl is there.
p. this is derived from the "rails/ssl_requirement":http://github.org/rails/ssl_requirement and adopted a more strict approach: *secure everything and open it where needed*.
-p. info about the actual gem please look into the directory "enforce-ssl-gem":http://github.org/mkristian/ixtlan-guard/gem
+p. info about the actual gem please look into the directory "enforce-ssl-gem":http://github.org/mkristian/ixtlan-guard/enforce-ssl-gem
h2. demo rails application
-p. the "demo":http://github.org/mkristian/ixtlan-guard/gem is a sample rails3 application with integration tests. see readme how to start the application and what limitations apply.
+p. the "demo":http://github.org/mkristian/ixtlan-guard/demo is a sample rails3 application with integration tests. see "readme":http://github.org/mkristian/ixtlan-guard/demo how to start the application and what limitations apply.
h2. run all the tests + integrations-tests in one go
View
6 enforce-ssl-gem/README.textile
@@ -2,11 +2,11 @@ h1. Enforce SSL for you controllers
p. this is derived from the "rails/ssl_requirement":http://github.org/rails/ssl_requirement and adopted a more strict approach: *secure everything and open it where needed*.
-p. info about the actual gem please look into the directory "enforce-ssl-gem":http://github.org/mkristian/ixtlan-guard/gem
+p. info about the actual gem please look into the directory "enforce-ssl-gem":http://github.org/mkristian/ixtlan-guard/enforce-ssl-gem
h2. usage
-p. add the gem in 'Gemfile'
+p. it requires rails2. for installation add the gem in 'Gemfile'
bc. gem 'enforce-ssl'
@@ -29,6 +29,8 @@ p. webrick can handle ssl as well here a blog which explains how to get ssl work
p. maybe other servers can offer you both ssl and none-ssl . . .
+p. *note* use *https://* in your url when using the ssl port or webrick with ssl
+
h3. allow http for some controllers or some actions
p. use the *skip_before_filter* declaration with its *:only* and *:except* options to controll where you want to allow http along side https.
Please sign in to comment.
Something went wrong with that request. Please try again.