Clear inherited file permissions

delphi package - easy access to security apis

Clear inherited file permissions

Postby valitudor » Wed Apr 21, 2010 10:41 am

I’m trying to clear the inherited file permissions of some files. If I clear the “allow inheritable permissions from the parent to propagate to this object…” and I copy permissions from the parent, everything works ok, but not with the inherited permissions.
Could you help me, please?

P.S. Thanks for your components.
valitudor
 
Posts: 2
Joined: Wed Apr 21, 2010 10:31 am

Postby madshi » Thu Apr 22, 2010 8:43 pm

Try playing with "ISecurityObject.ProtectedDAcl" property. That controls inherited rights.
madshi
Site Admin
 
Posts: 9774
Joined: Sun Mar 21, 2004 5:25 pm

Postby valitudor » Wed Apr 28, 2010 6:10 pm

Thanks, that did it!
valitudor
 
Posts: 2
Joined: Wed Apr 21, 2010 10:31 am


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 2 guests