You shouldn't manipulate SECURITY_DESCRIPTOR structures directly.
Rather, use the following APIs to modify the various parts of the security
descriptor:
GetSecurityDescriptorControl
GetSecurityDescriptorDacl
GetSecurityDescriptorGroup
GetSecurityDescriptorLength
GetSecurityDescriptorOwner
GetSecurityDescriptorRMControl
GetSecurityDescriptorSacl
InitializeSecurityDescriptor
IsValidSecurityDescriptor
SetSecurityDescriptorDacl
SetSecurityDescriptorGroup
SetSecurityDescriptorOwner
SetSecurityDescriptorRMControl
SetSecurityDescriptorSacl
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"sternr" <St****@gmail.comwrote in message
news:40**********************************@z17g2000 hsg.googlegroups.com...
On Jan 31, 3:05 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
sternr,
Well, there is always SetKernelObjectSecurity.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
"sternr" <Ste...@gmail.comwrote in message
news:ea**********************************@q39g2000 hsf.googlegroups.com...
Hey,
I know how to get a process's DACL using the GetKernelObjectSecurity.
But how can I modify and update I don't know.
Any help\example would be greatly appreciated!
Thanks ahead!
sternr- Hide quoted text -
- Show quoted text -
Hey,
But how do I manipulate the ACL's?
Thanks