web.Config Deny access not working???

G

Guest

Hi can someone please tell me why this web.config file doesn't deny access to
all for the folder it is in???

I have the web.config file in a folder called contents but for some reason I
can still access this folder. I am using Forms authentification and I just
can't get it to work!

PLEASE help...

Thanks


....web.config...

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<system.web>

<compilation defaultLanguage="vb" debug="true" />

<customErrors mode="RemoteOnly" />



<authorization>

<allow roles="Granted" /> <!-- ONLY USERS ALLOWED THAT BELONG TO THESE
GROUPS -->
<deny users="*" /> <!-- Deny all users -->

</authorization>

<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />


</system.web>

</configuration>
 
J

Juan T. Llibre

Care to describe it, Tim ?

( Just so others don't make the same mistake... )
 

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,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top