Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Was macht TreeResetNamedSecurityInfo? (https://www.delphipraxis.net/96289-macht-treeresetnamedsecurityinfo.html)

Dezipaitor 21. Jul 2007 18:15


Was macht TreeResetNamedSecurityInfo?
 
hi

Wer kennt nicht die Funktion
TreeResetNamedSecurityInfo ?
Damit kann man in einem Ordnerbaum die Vererbungsstruktur zurücksetzen.

Seit Vista gibt es:
TreeSetNamedSecurityInfo
Eine Suche mit Suchmaschinene ergibt übrigens immer nur die obige Adresse.
Wenn die Funktion mit TREE_SEC_INFO_SET aufgerufen wird, was passiert dann?
Hier ist die Doku, aus der ich jedoch nicht schlau werde. Kann es leider nicht testen

Zitat:

The security information is set on the object specified by the pObjectName parameter and the tree of child objects of that object. If ACLs are specified in either the pDacl or pSacl parameters, the security descriptors are associated with the object. The security descriptors are propagated to the tree of child objects based on their inheritance properties.
Werden die DACL und SACL einfach gesetzt und vererbt?

Hat jemand ein Beispiel, eine Ahnung oder einen Tipp?

thx


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:29 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz