About the privilege

Hi all,
There is a problem with my legacy file system filter driver, that is i can open the control
device in user mode with administrator privilege, but it does not work with guest
privilege, so what is the problem, please help me. thank you!

yours

> There is a problem with my legacy file system filter driver, that is i can open the control

device in user mode with administrator privilege, but it does not work with guest
privilege, so what is the problem, please help me. thank you!

You must set the flag FILE_DEVICE_SECURE_OPEN when creating
the device and then you have to set the device security
using ObOpenObjectByPointer + NtSetSecurityObject + NtClose

L.

zwsetsecurityobject is only available for windows xp or later, so is there a way suitable
for windows 2000? thank you.