1

我通过调用此本机方法在注册表项上设置 ACL:

[DllImport(@"advapi32.dll", EntryPoint = "RegSetKeySecurity", SetLastError = true)]
internal static extern int RegSetKeySecurity(SafeRegistryHandle handle, uint securityInformation, IntPtr pSecurityDescriptor);

我的 SDDL 对子对象设置了必需的继承 (AR):

D:ARP(A;CI;KA;;;SY)(A;CI;KA;;;BA)

一切正常,在父项上设置此 ACL 后创建的新子子项继承 ACL。但是,问题在于不继承此 ACL 的现有子项。如何强制将此 ACL 传播到现有的子子项?

4

0 回答 0