Seperate Auth for single page

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
 
S

Scott Allen

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

example:

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

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top