Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Permissions & Access Control

Direct answer

Permissions & Access Control explains how Windows decides whether an access token can perform a requested operation on a securable object. The object security descriptor identifies an owner and discretionary ACL; each ACE targets a SID and grants or denies specific rights. Network file access can add a separate share-permission layer before NTFS is evaluated.

When to use this

Use this branch for Access Denied, unexpected file/share access, inherited permission behavior, ownership recovery or when you need to distinguish configured ACLs from effective runtime access.

First 30 seconds

1. Reproduce as the affected user.

2. Token: whoami /groups (new logon after group changes).

3. NTFS: icacls <path>; share: Get-SmbShareAccess.

4. Effective = most restrictive of share and NTFS for network access.

5. Fix the group membership or ACL, least privilege.

Operational verification

user token → share permissions (network) → NTFS ACL → access

Evidence · next step

Evaluate the first denying layer or reproduce access while observing the correct token/path.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not grant Full Control to Everyone as a diagnostic shortcut. Do not reset inheritance or take ownership until you have preserved the original ACL. Do not assume share permissions explain local access, and do not assume an NTFS allow explains remote SMB access.

Platform / version applicability
Windows security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows security · Windows / Windows Server / PowerShell
Key commandicacls
Scope / prerequisiteUse this branch for Access Denied, unexpected file/share access, inherited permission behavior, ownership recovery or w…
Reference · 2
What next?3 suggested next steps
Child topics (this level)9
Catalog command links2
Evidence1
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Reproduce the exact path and operation. Capture the principal/token, determine whether the access is local or through a share, inspect the target owner/DACL and inherited ACEs, and compare the requested operation to the granted rights. After changes, verify with the same user/path/process context.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic NTFS Permissions

NTFS permissions on files and folders: DACL-based rights such as Read, Write, Modify and Full Control, inherited to child objects according to ACE flags.

Subtopic Share Permissions

SMB share permissions: share-level authorization applied to remote access before/alongside filesystem permissions.

Subtopic Effective Permissions

Effective Windows permissions: the runtime result of token SIDs, ordered ACEs, inheritance, share/NTFS layers, ownership and privileges for a requested access.

Subtopic Inheritance

Windows ACL inheritance: propagation of parent ACEs to child files/folders with inheritance flags, canonical ordering and inheritance disable/convert behavior.

Subtopic Explicit Permissions

Explicit Windows permissions: ACEs authored directly on an object, their precedence position relative to inherited entries and use for intentional exceptions.

Subtopic ACL

Windows Access Control Lists in security descriptors: DACL for discretionary access and SACL for auditing, including the critical NULL-vs-empty DACL distinction.

Subtopic ACE

Windows Access Control Entries (ACEs): allow, deny and audit entries targeting SIDs with specific access masks and inheritance/application flags.

Subtopic Ownership

Windows object ownership: owner SID, ability to control/repair DACLs, taking ownership and the distinction between ownership and ordinary data access.

Subtopic Permission Troubleshooting

Evidence-first Windows permission troubleshooting across token identity, NTFS DACL, inheritance, share permissions, ownership, UAC/elevation and non-permission failures.

Key points
  • Windows evaluates the access token against a security descriptor; account names are resolved to SIDs.
  • NTFS and share permissions are separate authorization layers for SMB access; both must permit the requested operation.
  • Explicit and inherited ACE ordering matters, but effective access is more than a simple “deny always wins” slogan.
  • Ownership is not the same as read/write permission; taking ownership is primarily a recovery/control action.
  • A NULL DACL and an empty DACL are very different: NULL grants unrestricted access, while an empty DACL grants no access.
Key checks
  • Get-Acl <path> | fl — owner and ACL
  • icacls <path> — ACEs with inheritance flags
  • whoami /groups — groups in the current token
  • Get-SmbShareAccess <share> — share permissions
ReferenceWhat it is1 section · depth on demand

Core model

Windows securable objects carry security descriptors. For discretionary access, the key pieces are the requester’s access token and the object DACL. ACEs in the DACL identify SIDs and rights to allow or deny. File access over SMB can add share permissions as another layer before the NTFS filesystem authorization is considered.

ReferenceImportant terms & boundaries2 sections · depth on demand

Security boundary

Avoid reducing Windows authorization to one rule. Effective access depends on the requested access mask, the user and group SIDs in the token, the ordered ACEs that apply, inheritance, object-specific rights, owner/privilege effects and—when remote through SMB—the share layer. A useful operational model is to identify each boundary rather than guessing from one checkbox.

In depth

Windows access control: every securable object (file, registry key, service, AD object) has a security descriptor with an owner, a DACL (who may do what) and a SACL (what to audit). When a process opens an object, the Security Reference Monitor compares the process token (user SID, group SIDs, privileges, integrity level) with the DACL.

Get-Acl D:\Data | Format-List
icacls D:\Data
whoami /groups /priv

Privileges (e.g. SeBackupPrivilege, SeTakeOwnershipPrivilege, SeDebugPrivilege) can bypass DACLs — treat them as admin-equivalent.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows security current

Authoritative/upstream documentation reviewed for bounded claims in Permissions & Access Control. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/win32/secauthz/access-control · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
windows permissionswindows acl permissionsntfs share permissionsaccess denied windows
Embedded reference data

Quick lookup tables

Windows authorization layers

The common path for file and share access.

ItemMeaningBoundary
TokenUser/group SIDs and privilegeswho is requesting access
Share permissionSMB share-level authorizationapplies when accessing through the share
NTFS DACLFilesystem object authorizationapplies to NTFS object access
OwnerControls ownership/recovery semanticsdoes not automatically grant ordinary data access
Effective resultCombined runtime access checkmust be verified in the real access path
Confirmation

Confirm action

Continue?