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

    Roger

"Joseph L. Casale" <jcas...@activenetwerx.com> wrote in message 
news:cc848ab27fe14b629765c07002547...@exch.activenetwerx.com...
> 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
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to