AspNetCore.Docs/aspnet/whitepapers/aspnet4/overview/samples/sample40.xml

18 lines
380 B
XML

<configuration>
<location path="search.aspx">
<system.web>
<authorization>
<allow roles="admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="search">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>