Posted By

spark9 on 02/28/09


Tagged

webconfig


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

benrudolph


ASP.NET web.config security


 / Published in: ASP
 

  1. Goes in order until first match found
  2.  
  3.  
  4. <location>
  5. <system.web>
  6. <authorization>
  7. <allow roles="Admin"/>
  8. <deny users="*"/>
  9. </authorization>
  10. </system.web>
  11. </location>
  12.  
  13. allow, deny
  14.  
  15. users, ex: users="Jeff"
  16.  
  17. "*" = all "?" = anonymous

Report this snippet  

You need to login to post a comment.