Einzelnen Beitrag anzeigen

Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#4

Re: Registry Permissions setzen

  Alt 14. Mär 2007, 11:33
See Registry Key Security and Access Rights

You can specify a security descriptor for a registry key when you call the MSDN-Library durchsuchenRegCreateKeyEx or MSDN-Library durchsuchenRegSetKeySecurity function. If you specify NULL, the key gets a default security descriptor. The ACLs in a default security descriptor for a key are inherited from its direct parent key.

To get the security descriptor of a registry key, call the GetNamedSecurityInfo or GetSecurityInfo function.

Delphi translation of RegSetSecurity can be found in the unit JwaWinReg.pas from the Jedi Api Lib
  Mit Zitat antworten Zitat