title: ASP.Net security using Operations Based Security
body: <p>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.</p>
  
  <p>Essentially I want to be able to write code like this:</p>
  
  <pre><code>if(SecurityService.CanPerformOperation("SomeUpdateOperation")){
      // perform some update logic here
  }
  </code></pre>
  
  <p>I would also need row level security access like this:</p>
  
  <pre><code>if(SecurityService.CanPerformOperation("SomeViewOperation", SomeEntityIdentifier)){
     // Allow user to see specific data
  }
  </code></pre>
  
  <p>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?</p>