You can call win32security.SetNamedSecurityInfo with 
PROTECTED_DACL_SECURITY_INFORMATION
to prevent inheritance.

    Roger

"Joseph L. Casale" <[email protected]> wrote in message 
news:[email protected]...
> How does one accomplish the effect of the SetAccessRuleProtection call? I am 
> trying to
> take an existing DACL and remove inheritance so parent changes are not 
> inherited unless
> the child objects are reset.
>
> I can iterate a dacl and remove an inherited ace which is in my opinion 
> technically invalid
> as any parent change will simply resolve the intermittent state. Without 
> disabling inheritance
> on the object itself, I am not clear on the proper approach.
>
> Any guidance would be greatly appreciated.
> jlc 



_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to