Seperate Auth for single page

  • Thread starter Thread starter Curt_C [MVP]
  • Start date Start date
C

Curt_C [MVP]

Can you specify a different authentication method ('none') for a single
page? I have the web.config designed for 'Forms' auth, but I have one page
that I want outside the auth method, without putting it into a seperate
folder with it's own web.config.

Thanks
 
Yes - see the <location> element of web.config.

example:

<location path="Logon.aspx">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>

HTH,
 
Back
Top