#9 Filtering Sensitive Logs

Are you accepting sensitive user data? Passwords, credit card numbers, etc. By default, Rails stores all submitted parameters in plain text in the logs. This episode will show you how to filter this sensitive input so it doesn't show up in the log file.
# controllers/application.rb
filter_parameter_logging "password"

你可能感兴趣的:(java,UP,Rails)