Forms Authentication!!!

A

Adam Knight

Hi all,

I have a page within an application using Forms authentication.

My hope is that this page can be excluded from the security mechanism, thus
not cause a redirect to a login page if the user is not logged in ect.

My web config obviously reflects the security in place:

<authentication mode="Forms">
<forms loginUrl="mydirectory/v2/security/login.aspx" name="myApp"/>
</authentication>

Can "myPage.aspx" be excluded?

Cheers,
Adam
 
W

WJ

Adam Knight said:
Hi all,
<authentication mode="Forms">
<forms loginUrl="mydirectory/v2/security/login.aspx" name="myApp"/>
</authentication>

Can "myPage.aspx" be excluded?

The "location" tag will take care of it. Example:

<location path="myPage.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top