We are adding a couple pages to our application that don’t need to be locked down behind a login. How would I open up two pages to be publicly accessible.
Here is my Web.config:
<authentication mode="Forms">
<forms name=".ORGANIZATION" loginUrl="Default.aspx" protection="All" timeout="120"/>
</authentication>
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
We want page1.aspx and page2.aspx to be public. How would I allow that?
You would add a
locationin the web.config to exempt them: