gentoo90 / winreg-rs

Rust bindings to MS Windows Registry API
MIT License
168 stars 36 forks source link

Read Registry Key ACL #41

Open theflakes opened 3 years ago

theflakes commented 3 years ago

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

gentoo90 commented 3 years ago

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)?;