ma.gnolia

Sign In | Learn More

Skip to main content


less everything Use attr_protected or we will hack you less everything Use attr_protected or we will hack you

  • Not rated yet.
  • Copy Bookmark

how to improve user security in rails apps

3 other people have commented on this bookmark

Name Title Rating When
8_32 rarepleasures Use attr_protected or we will hack you -- Less Everything...
Not rated yet.
June 19, 2008
16860_32 Josh Use attr_protected or we will hack you
Not rated yet.
March 22, 2008
14724_32 Ian Use attr_protected or we will hack you
Not rated yet.
March 20, 2008

There are a few easy things anyone can do to prevent this hack. In order of importance: Use attr_protected. Don’t use mass assignments for your users table. Don’t have a users controller. Split the users table into a use...