AnnotationSecurity is a rails plugin which provides a security layer for rails applications. Security policies are set up based on actions and resources and not, as common, based on url patterns.