https://github.com/mullvad/windows-security
Node add-on to access security features on Windows
https://github.com/mullvad/windows-security
acl file windows
Last synced: 9 months ago
JSON representation
Node add-on to access security features on Windows
- Host: GitHub
- URL: https://github.com/mullvad/windows-security
- Owner: mullvad
- License: mit
- Created: 2018-02-01T13:58:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-10T11:42:52.000Z (over 7 years ago)
- Last Synced: 2025-04-10T02:58:35.435Z (about 1 year ago)
- Topics: acl, file, windows
- Language: C++
- Homepage:
- Size: 44.9 KB
- Stars: 15
- Watchers: 13
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# windows-security
[](https://david-dm.org/mullvad/windows-security)
[](https://david-dm.org/mullvad/windows-security?type=dev)
[](https://ci.appveyor.com/project/mullvad/windows-security)
A Node.js addon that wraps Windows Security APIs and provides a convenient interface for working with them from JavaScript.
Currently only a limited subset of the API is available, such as SID resolution, file owner resolution and check against the well known SIDs.
## Prerequisites
There are no prerequisites. This module comes with prebuilt binaries published on GitHub releases automatically via Appveyor.
However if you wish to build it from source make sure to install the Visual Studio 2015 Build Tools with MFC/ATL support. For the environment configuration please refer to [the Node.js guidelines by Microsoft](https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#environment-setup-and-configuration).
## Building
To compile the module simply run
```
./node_modules/.bin/node-pre-gyp build
```
You can confirm everything built correctly by [running the test suite](#to-run-tests).
### To run tests:
```
$ npm test
```