Pcornel
Windows · Permissions & Access Control

Share Permissions

Cheat sheet · https://pcornel.dk/topic.php?topic=2991

Back to the Topic

Answer

Share permissions control access through a Windows SMB share. They are separate from NTFS permissions: remote access through the share must pass the share authorization and the underlying filesystem authorization, while local filesystem access does not use the share permission layer.

Remember

  • Share permissions apply to the share path, not direct local filesystem access.
  • NTFS and share permissions are separate checks; remote access must satisfy both.
  • Changing NTFS does not change the share ACL and vice versa.
  • A broad share permission with restrictive NTFS is a common design, but the intended security model is environment-specific.

First 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

Verify in this order

network access → share permissions → then NTFS

Where it usually breaks

First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.

Local vs share access

ItemMeaningBoundary
Local path C:\DataNTFS/object permissionsshare permissions not involved
UNC \\server\shareShare + NTFSboth layers must permit requested access
Share permission changedSMB layer onlyNTFS unchanged
NTFS changedFilesystem layershare ACL unchanged

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2991

Confirmation

Confirm action

Continue?