The following code example demonstrates how to allow an anonymous user to gain access the Logon.aspx page.
<configuration>
<location path="Logon.aspx">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
</configuration> The following code example demonstrates how to set the uploaded file size limit to 128 KB for only the page specified.
<configuration>
<location path="UploadPage.aspx">
<httpRuntime maxRequestLength="128"/>
</location>
</configuration> The following code example demonstrates how to prevent configuration settings from being changed by Web.config files that are in child directories.
<configuration>
<location allowOverride="false"/>
</configuration>