From 7d0027554b984bd9e531cda27862a541e511750b Mon Sep 17 00:00:00 2001 From: rohit Date: Fri, 30 Apr 2010 11:24:32 +0530 Subject: Rewrote Security para and a minor fix --- railties/guides/source/getting_started.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 1664e2a7ec..0f4324d9a5 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -1204,9 +1204,9 @@ end h3. Security -Before you publish your blog online, you will most likely want to prevent just anyone from being able to add, edit and delete posts or delete comments. +If you were to publish your blog online, anybody would be able to add, edit and delete posts or delete comments. -Rails provides a very simple http authentication system that will work nicely in this situation. First, we enable simple HTTP based authentication in our app/controllers/application_controller.rb: +Rails provides a very simple HTTP authentication system that will work nicely in this situation. First, we enable simple HTTP based authentication in our app/controllers/application_controller.rb: class ApplicationController < ActionController::Base -- cgit v1.2.3