winreg-rs icon indicating copy to clipboard operation
winreg-rs copied to clipboard

Read Registry Key ACL

Open theflakes opened this issue 4 years ago • 1 comments

Is there a way to read the ACL entries attached to a registry key?

theflakes avatar Dec 06 '20 23:12 theflakes

Check out windows-acl crate. Should be something like

use windows_acl::acl::ACL;
let acl = ACL::from_registry_path("CURRENT_USER\\Software", false, true)?;

gentoo90 avatar Dec 22 '20 20:12 gentoo90