Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Compare a process's ACLs against a target object's ACLs #2

Open
BinToss opened this issue Jun 12, 2021 · 1 comment
Open

Compare a process's ACLs against a target object's ACLs #2

BinToss opened this issue Jun 12, 2021 · 1 comment

Comments

@BinToss
Copy link
Owner

BinToss commented Jun 12, 2021

For instance, I need to check if the current process has Write and Modify permissions for a directory.

To do so, get a list of the SIDs for the current process (ignore the owner like Windows sometimes does) and then get each SID's ACLs. Compare them to the directory's SIDs' ACLs.

@BinToss
Copy link
Owner Author

BinToss commented Mar 7, 2022

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant