Web.confilg 권한(ACL - Access Control List) 설정

<!-- settings for the current folder -->

<system.web>

<authorization>

  <allow users="*" />

</authorization>

</system.web>

 

<!-- settings for the Admin sub-folder -->

<location path="Admin">

<system.web>

<authorization>

  <allow roles="Administrators" />

  <deny users="*" />

</authorization>

</location>

 

<!-- settings for the Members sub-folder -->

<location path="Members">

<system.web>

<authorization>

  <deny users="?" />

  <allow users="*" />

</authorization>

</location>

댓글

가장 많이 본 글