web.Config Deny access not working???

  • Thread starter Thread starter Guest
  • Start date Start date
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>
 
Back
Top