makeing a page visible to everyone without needing to login

S

Srinivas

Hi,

I have a folder called 'secure' containing many pages and these can be
accessed after going through forms authentication. But I want one of the
files appPage.aspx to be visible to everyone.

I am using following code in web.config located in 'secure' folder.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration>

Is there a way to make the file appPage.aspx visible to everyone without
needing to login.

Thanks

Srinivas
 
C

Curt_C [MVP]

look at the <location></location> tag in the web.config to exclude indivual
pages (and I believe files)
 
S

Srinivas

Thanks Curt. Its working great now.


Curt_C said:
look at the <location></location> tag in the web.config to exclude indivual
pages (and I believe files)
 

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,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top