aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2010-12-15 23:13:22 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2010-12-15 23:13:22 +0530
commit7a028eae7914f8099b4369b51c2d06a47ecdab9e (patch)
tree3a5c5729dec406131b6b0b4b6fdc7178762fc916 /railties
parent7b0e1cb0ca901c6bb30cf18c1892b8de89a2475a (diff)
downloadrails-7a028eae7914f8099b4369b51c2d06a47ecdab9e.tar.gz
rails-7a028eae7914f8099b4369b51c2d06a47ecdab9e.tar.bz2
rails-7a028eae7914f8099b4369b51c2d06a47ecdab9e.zip
fixed font
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/security.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/security.textile b/railties/guides/source/security.textile
index 9963106ff3..fbafc40d93 100644
--- a/railties/guides/source/security.textile
+++ b/railties/guides/source/security.textile
@@ -524,7 +524,7 @@ h4. Logging
-- _Tell Rails not to put passwords in the log files._
-By default, Rails logs all requests being made to the web application. But log files can be a huge security issue, as they may contain login credentials, credit card numbers et cetera. When designing a web application security concept, you should also think about what will happen if an attacker got (full) access to the web server. Encrypting secrets and passwords in the database will be quite useless, if the log files list them in clear text. You can _(highlight)filter certain request parameters from your log files_ by appending them to config.filter_parameters in the application configuration. These parameters will be marked [FILTERED] in the log.
+By default, Rails logs all requests being made to the web application. But log files can be a huge security issue, as they may contain login credentials, credit card numbers et cetera. When designing a web application security concept, you should also think about what will happen if an attacker got (full) access to the web server. Encrypting secrets and passwords in the database will be quite useless, if the log files list them in clear text. You can _(highlight)filter certain request parameters from your log files_ by appending them to <tt>config.filter_parameters</tt> in the application configuration. These parameters will be marked [FILTERED] in the log.
<ruby>
config.filter_parameters << :password