Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am having trouble getting my IIS 7.5 server on Windows 7 to have the security I want.

I want a portal page that anyone can access, and on that page I will have links to virtual directories. I want each virtual directory to be tied to a specific local user group that can access that web application.

Based on what I have found online, as well as this article: Restrict access to IIS site to an AD Group, I configured my web.config as follows. I enabled Windows Authentication through the Add/Remove features, and I have set the NTFS permissions of the web app directory to allow access to the local group.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
         <authorization>
            <allow users="computer\SITE Read"/>
            <!-- <deny users="*"/> -->
         </authorization>
      </system.web>
</configuration> 

Despite all this, I still get the following error:

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access to 
share|improve this question

1 Answer 1

up vote 0 down vote accepted

I found the fix.

If you're specifying local groups, you need to say "roles" instead of "users"

<allow roles="computer\SITE Read"/>

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.