windows-permissions

Crates.iowindows-permissions
lib.rswindows-permissions
version0.2.4
sourcesrc
created_at2019-06-11 03:42:21.287201
updated_at2021-06-29 21:33:23.034179
descriptionSafe Rust bindings to Windows permissions APIs
homepage
repositoryhttps://github.com/danieldulaney/windows-permissions-rs
max_upload_size
id140327
size126,353
Daniel Dulaney (danieldulaney)

documentation

README

Windows permissions

Safe Rust bindings to Windows permissions APIs.

Crates.io Docs.rs

Overview

This crate provides safe Rust wrappers over several Windows permissions concepts, including:

  • SID (Security Identifier)
  • ACL (Access Control List)
  • ACE (Access Control Entry)
  • SD (Security Descriptor)

There are two kinds of abstractions:

  • The primary Windows data structures are available and can be used directly.
  • In the wrappers crate, there are safe versions of the Windows API functions. Any Windows API function not implemented should be reported as an issue.

Contributing

PRs are happily accepted! In general, unsafe code should be confined to the wrappers module -- the rest of this crate should be implemented safely based on that code.

Help wanted:

  • Make wrappers more complete with additional Windows API functions
  • Add new data structures that cover more of the permissions APIs
Commit count: 126

cargo fmt