Acts As Row Secured

Open source Rails plugin that will help developers to assign row level security to active record models
Download

Acts As Row Secured Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Kinetic Data Inc
  • Publisher web site:
  • http://rubyforge.org/projects/rowsecured/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 27 KB

Acts As Row Secured Tags


Acts As Row Secured Description

Open source Rails plugin that will help developers to assign row level security to active record models Acts As Row Secured is a Ruby on Rails plugin used to provide row level security to active record models.Row level security restricts access to database records based on a security policy function associated with that model. Acts As Row Secured does not manage authentication or authorization, but rather leverages existing security mechanisms to simplify the restriction of model record access. Once a model implements acts_as_row_secured, and an additional active record query conditions fragment is specified, all queries made by that model will be predicated with the specified query fragment.Model level restricted access is an important part to application defense in depth and row level security significantly simplifies the implementation of this restriction. Specification of a security policy function enables the restriction to be included by default instead of by exception. This will automatically reduces code complexity by removing the need for SQL WHERE clauses or multiple model :conditions and centralizes the security mechanism. A change in access rules can be accomplished by changing a single line in the model.Acts As Row Secured works by encapsulating ActiveRecord database queries within an ActiveRecord::Base.with_scope block. This block is generated by the plugin based on the conditions specified in the acts_as_row_secured method call. The security context, most typically a User record, is set in the ActiveRecord::Base class and subsequently available to every model in the project. The security context can be set anywhere, but is simplest to configure in a before filter on the ApplicationController. Requirements:· Rails 2.1NOTE: Acts As Row Secured is licensed and provided under the terms of the BSD License.


Acts As Row Secured Related Software