Is there a tool to generate SDDL (Security Descriptor Definition Language) strings?

Ilya picture Ilya · Mar 28, 2012 · Viewed 11.6k times · Source

Is there a tool to generate SDDL (Security Descriptor Definition Language) strings? I'd like to create them through Windows' Security property sheet or something similar.

Answer

Ilya picture Ilya · Mar 28, 2012

One way is to set the ACL on a file (using the standard property sheet -- i.e. right click and choose Properties, then go to the Security tab), then use CACLS filename /S to display the resulting ACL in the SDDL format.