wilcor14
asked on
Role authentication not working right
in my web.congif file in a subfolder to the root, I have the attached Code Snippet.
Based on this, all users should be denied access except for those possessing the role of OfficeStaff.
This is not happening for some reason. Thanks for the assistance.
Based on this, all users should be denied access except for those possessing the role of OfficeStaff.
This is not happening for some reason. Thanks for the assistance.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<allow roles="OfficeStaff" />
<deny users="*" />
</authorization>
</system.web>
</configuration>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That was it. Thanks.
i added a <deny users="?"/>
it deny the unautentified users
Open in new window