LWN.net Logo

Ruby on Rails gains new ModelSecurity feature

From:  Bruce Perens <bruce-AT-perens.com>
To:  lwn-AT-lwn.net
Subject:  Ruby on Rails gains new ModelSecurity feature
Date:  Thu, 13 Oct 2005 11:13:14 -0700


Ruby on Rails gains new Data Model Security feature

I've developed /ModelSecurity/, a new Ruby on Rails facility that helps
developers implement a security /defense in depth/ by implementing
access control within the data model.

If you are like most developers, you think about security when you
program controllers and views. But a bug in your controller or view can
compromise the security of your application, /unless your data model has
also been secured./

The economical, flexible, and extremely readable means of specifying
access controls provided by ModelSecurity makes it easier for the
developer to /think/ about security, and makes security assumptions that
might otherwise live in one developers head /concrete/ and /communicable
to others./

The work was sponsored by Sourcelabs <http://sourcelabs.com/>> and is
released as Open Source under the same license as Rails. See the
ModelSecurity web site <http://perens.com/FreeSoftware/ModelSecurity>>. -
/Bruce Perens/




(Log in to post comments)

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds