ASP.Net security using Operations Based Security

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-02-24T15:42:03Z Indexed on 2010/05/05 17:58 UTC
Read the original article Hit count: 465

Filed under:
|

All the security stuff I have worked with in the past in ASP.Net for the most part has been role based. This is easy enough to implement and ASP.Net is geared for this type of security model. However, I am looking for something a little more fine grained than simple role based security.

Essentially I want to be able to write code like this:

if(SecurityService.CanPerformOperation("SomeUpdateOperation")){
    // perform some update logic here
}

I would also need row level security access like this:

if(SecurityService.CanPerformOperation("SomeViewOperation", SomeEntityIdentifier)){
   // Allow user to see specific data
}

Again, fine grained access control. Is there anything like this already built? Some framework that I can drop into ASP.Net and start using, or am I going to have to build this myself?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about security