https://github.com/danieldulaney/windows-permissions-rs
Safe Rust bindings to Windows permissions APIs
https://github.com/danieldulaney/windows-permissions-rs
permissions rust winapi
Last synced: about 1 month ago
JSON representation
Safe Rust bindings to Windows permissions APIs
- Host: GitHub
- URL: https://github.com/danieldulaney/windows-permissions-rs
- Owner: danieldulaney
- Created: 2019-01-29T00:36:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-07T12:34:31.000Z (almost 3 years ago)
- Last Synced: 2025-09-18T09:10:16.769Z (7 months ago)
- Topics: permissions, rust, winapi
- Language: Rust
- Homepage:
- Size: 175 KB
- Stars: 20
- Watchers: 2
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windows permissions
Safe Rust bindings to Windows permissions APIs.
[![Crates.io][crates-badge]][crates-url]
[![Docs.rs][docs-badge]][docs-url]
[crates-badge]: https://img.shields.io/crates/v/windows-permissions
[crates-url]: https://crates.io/crates/windows-permissions
[docs-badge]: https://docs.rs/windows-permissions/badge.svg
[docs-url]: https://docs.rs/windows-permissions
## 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