This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun May 25 21:28:48 -0700 2008 | |
| |
.loadpath | Wed Apr 30 21:09:05 -0700 2008 | |
| |
.project | Wed Apr 30 21:09:05 -0700 2008 | |
| |
CHANGELOG | Wed May 28 01:03:26 -0700 2008 | |
| |
MIT-LICENSE | Wed Apr 30 21:12:22 -0700 2008 | |
| |
README | Mon May 26 10:33:12 -0700 2008 | |
| |
Rakefile | Sun May 25 21:28:48 -0700 2008 | |
| |
app/ | Mon May 26 09:41:18 -0700 2008 | |
| |
audit_mass_assignment.gemspec | Wed May 28 01:03:26 -0700 2008 | |
| |
config/ | Sun May 25 21:28:48 -0700 2008 | |
| |
db/ | Mon May 26 09:41:18 -0700 2008 | |
| |
init.rb | Sun May 25 21:28:48 -0700 2008 | |
| |
lib/ | Wed May 28 01:03:26 -0700 2008 | |
| |
script/ | Mon May 26 09:41:18 -0700 2008 | |
| |
tasks/ | Wed May 28 01:03:26 -0700 2008 | |
| |
test/ | Wed May 28 01:03:26 -0700 2008 |
README
Moved to GitHub from Google Code on May 1, 2008 Was hosted at http://code.google.com/p/audit-mass-assignment/ = audit_mass_assignment plugin for Ruby on Rails The audit_mass_assignment Ruby on Rails plugin contains a rake task that checks the models in your project for the attr_accessible whitelist approach for protecting against "mass assignment" exploits. It does not check for use of attr_protected. == Installation gem install ryanlowe-audit_mass_assignment --source http://gems.github.com/ == Usage $ rake audit:mass_assignment == Notes If you want to protect ALL attributes in your model use: attr_accessible nil Why are "mass assignment" exploits a danger to Rails applications? See these links: 1. rorsecurity.info: Do not create records directly from form parameters http://www.rorsecurity.info/2007/03/20/do-not-create-records-directly-from-form-parameters/ 2. Railscasts: Hackers Love Mass Assignment http://railscasts.com/episodes/26 3. Rails Manual: Typical mistakes in Rails applications: Creating records directly from form parameters http://manuals.rubyonrails.com/read/chapter/47







