PDA

Click to See Complete Forum and Search --> : Pages that don't need authentication


MPardo
Apr 12th, 2005, 03:03 PM
Hey guys/gals, I have some ASP.Net pages which I do NOT need the authentication run. Basically, I have a forgot password link on the login page that sends the user to a page where they can enter their email address. The problem is that when I click the link, the authentication automatically reroutes me back to the login page (because I of course haven't logged in). So is there a way to designate that the "Supply your email address" page does not require an authenticated user to view?? It seems that the web.config file has locked down the entire site. Thanks in advance.

dj4uk
Apr 13th, 2005, 03:47 AM
You need to allow access for individual locations.

<system.web>
<authentication mode="Forms">
<forms name="F4D"
loginUrl="/html/login.aspx"
protection="All"
timeout="30"
requireSSL="false">
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
<location path="html/register.aspx">
<system.web>
<authorization>
<allow roles="*" />
</authorization>
</system.web>
</location>


DJ