Overriding forms authentication in child folders...

S

Stu

Hi,

I have an app which uses form authentication to controll access to all
files.

How do I allow anonymous access to a specific folder?

I have a web.config file in the root of the child folder with this in it -
but it still asks for a login...

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

Thanks in advance,

Stuart
 
Y

Yunus Emre ALPÖZEN [MCSD.NET]

Try this,
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 
S

Stu

That worked great - Thanks.


Yunus Emre ALPÖZEN said:
Try this,
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 

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,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top