Personally, I shell out to icacls.exe.
It will for the most part prevent you from screwing things up too badly, whereas using the APIs -- assuming you can find an up-to-date and maintained module that gives you access to them -- it is extremely easy to screw things up completely.
I don't trust myself to program an api that complex; should I trust someone else?
In reply to Re: Windows Security
by BrowserUk
in thread Windows Security
by pgduke65
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |