Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dahall/securityeditor
Standard Windows security editor dialog for .NET derived from CommonDialog and implementing the Windows EditSecurity API.
https://github.com/dahall/securityeditor
csharp dotnet permissions security windows winforms
Last synced: 3 months ago
JSON representation
Standard Windows security editor dialog for .NET derived from CommonDialog and implementing the Windows EditSecurity API.
- Host: GitHub
- URL: https://github.com/dahall/securityeditor
- Owner: dahall
- License: mit
- Created: 2017-07-01T21:50:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T02:10:53.000Z (6 months ago)
- Last Synced: 2024-10-10T16:33:57.010Z (4 months ago)
- Topics: csharp, dotnet, permissions, security, windows, winforms
- Language: C#
- Homepage:
- Size: 139 KB
- Stars: 13
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
- Security: SecurityEditor.sln
Awesome Lists containing this project
README
# Windows Security Editor for .NET
> Standard Windows security editor dialog for .NET derived from CommonDialog and implementing the Windows EditSecurity API.
Currently this project supports calling the dialog in English for files, directories, tasks (see [Task Scheduler Managed Wrapper project](https://github.com/dahall/taskscheduler)), and registry keys. With little effort, this project can be localized or extended to support other securable objects.
After futilely attempting to recreate all the security dialogs for another project, I decided to jump in and figure out the complicated Interop required to implement the [EditSecurity](http://msdn.microsoft.com/en-us/library/windows/desktop/aa446618(v=vs.85).aspx) Windows API call. The hard work was around the implementation of the [ISecurityInformation](http://msdn.microsoft.com/en-us/library/windows/desktop/aa378900(v=vs.85).aspx) interface and then hiding the complexity from the developer. The framework is all implemented and the project is currently in its 1.0 release.
Some special credit to the work of _oshah_ and the [article on CodeProject](http://www.codeproject.com/Articles/10811/The-Windows-Access-Control-Model-Part) and to a number of other random coders that were brave enough to publish their work on both Interop and implementing a security editor in C++.
![](EditSec.PNG)