Author: jzimmerman2011 | Posted on: 6/2/2009 1:58:47 PM | Views : 483

In my web application, I have an Admin folder that I want to be accessible to only those users who have the Admin role.  So, in my main web.config file, I wrote:
 
<location path="~/Admin">
        <system.web>
            <authorization>
                <deny users="*" />
                <allow roles="Admin"/>
            </authorization>
        </system.web>
    </location>
 
However, it is not blocking the access.  Any help with this would be great...

...

Go to the complete details ...