Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


August 2005

Understanding Inherited Permissions


RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Ask the Experts

I have a question about precedence among conflicting inherited permissions. Let's say I have a folder hierarchy comprising three folders: Folder 1 contains Folder 2, which contains Folder 3. I grant Clerks Modify access on Folder 1. I add a permission that denies Clerks Full Control on Folder 2. And I add a permission that grants Clerks Read access on Folder 3. If memo.doc resides in Folder 3 and has no explicitly defined permissions in its ACL, what type of access would Clerks have to memo.doc?

Clerks could only read memo.doc. Deny permissions override allow permissions from the same or a higher parent.

Here's how Windows evaluates permissions on an object: First, Windows evaluates deny permissions explicitly defined on the object (i.e., not inherited). If any of the permissions being requested are denied the user or any of the user's groups, Windows rejects the request with access denied.

Next, Windows evaluates explicit allow permissions. If all the permissions being requested are collected from access control entries (ACEs) for the user or the user's groups, Windows approves the access request and doesn't bother looking at the rest of the ACL, even if it contains applicable deny permissions inherited from parents.

If requested permissions remain to be filled, Windows then looks at the permissions inherited from the immediate parent folder, first checking deny and then allow. The process continues with the next- closest parent until Windows finds an applicable permission that denies one of the permissions being requested or collects all the permissions being requested. If Windows makes it to the end of the ACL without collecting all the requested permissions, Windows rejects the access request. Therefore, deny permissions override only allow permissions that are defined on the same or a higher parent. Allow permissions defined on lower parents or explicitly on the object being accessed trump deny permissions on higher parents.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Anti-Virus Vendors Prepare for War with Microsoft ... Again

When Microsoft announced its Windows Live OneCare security and PC health product over five years (as MSN OneCare), Symantec, McAfee, and the other consumer-oriented security vendors reacted with stunning vigor. ...

What You Need to Know About Microsoft's x64 Server Product Plans

What do Longhorn Server, Windows Compute Cluster Server, and Windows Vista have in common? The x64 platform. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Security Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Related Events WinConnections and Microsoft® Exchange Connections

Security Summit

Top 10 Email Security Challenges and Solutions

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home asp.netPRO Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing