I would like to restrict access by requesting login to only one page in my application. In webconfig I put it like this, but obviously this requires authentication on every page of the application.
<authentication mode="Forms">
<forms loginUrl="~/Admin/Login.aspx" name=".ASPXFORMSAUTH">
</forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
I could release the pages doing so, one by one:
<location path="Default.aspx">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
However, I would like to leave all the pages, except one in the ~ / Admin /
folder,