how to by-pass forms authentication in a subfolder

Z

Zeng

Hello,

I have an application with forms authentication setting specified in the
web.config of the app root; so all users must login before they can access
any page within the app. Is there a way to have a subfolder with a page that
within the app that doesn't require user to login ?

For example, I would like to have this page www.myapp.com/testing/check.aspx
within "testing" folder to open to public w/o request users to login, if it
has to be the whole folder "testing" must be open to public, that would be
fine - but just that folder.

Thank you very much in advance for your help...
 
P

Paul Glavich

Use the <location> element in the web.config to specify something like :-
<location path="/testing/check.aspx">
<system.web>
<authentication mode="None" />
</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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top