RE: Security newbie question

From: Gary Chang[MSFT] (v-garych_at_online.microsoft.com)
Date: 12/21/04


Date: Tue, 21 Dec 2004 07:35:29 GMT

Hi Gak,

> Oh yeah, I forgot to mention I need to do all this in Kernel Mode!

IF so, I suggest you use the ZwCreateDirectoryObject() and specify the SD
in call to InitializeObjectAttributes():

ZwCreateDirectoryObject
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/k
march/k111_b1b0f371-6699-42f6-b86d-a0fb57983d9f.xml.asp

InitializeObjectAttributes
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/k
march/k107_f7e00cf9-9598-4835-b51a-3df9e003587e.xml.asp

Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------