Overriding forms authentication in child folders...

  • Thread starter Thread starter Stu
  • Start date Start date
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
 
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
 
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

Back
Top