title: How do I restrict access to certain pages in ASP.NET MVC?
body: <p>I wish to lock out access to a user's EDIT page (eg. /user/pure.krome/edit) if</p>
  
  <p>a) Identity.IsAuthenticated = false</p>
  
  <p>or they are authenticated but</p>
  
  <p>b) Idenitity.Name != user name of the user page they are trying to edit<br>
  c) Identity.UserType() != UserType.Administrator  // This is like a Role, without using RoleProviders.</p>
  
  <p>I'm assuming u can decorate a controller or a controller's action method with something(s), but i'm just not sure what?</p>