Device Control using DACL?

hi,
i want to using the DACL to control the device,such as the
floppy,cdrom,partition,nic card ,usb etc.i do not know how to do it? i
think it should use the driver to implement.
enviornment:windows2000/xp/2003, fat32 file system,
i must be in the fat32,and i do not appreciate to using the setupapi
functions.


ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com

I take it that what you are asking for is to control access to devices,
since DACL stands for Discrectionary Access Control List. This can be a
broad topic, so give us an idea of what you want to do, and the group can
probably help you.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“shark marian” wrote in message
news:xxxxx@ntdev…
> hi,
> i want to using the DACL to control the device,such as the
> floppy,cdrom,partition,nic card ,usb etc.i do not know how to do it? i
> think it should use the driver to implement.
> enviornment:windows2000/xp/2003, fat32 file system,
> i must be in the fat32,and i do not appreciate to using the setupapi
> functions.
>
> _________________________________________________________________
> ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com
>
>
>

Don’t forget that some functions go to the FDO of the device and some to the
PDO. So you would need at least 2 DACLs.

The only way I know (and that for a PDO) is via SetupDiXXX.


James Antognini
Windows DDK Support

This posting is provided “AS IS” with no warranties, and confers no rights.

“shark marian” wrote in message
news:xxxxx@ntdev…
> hi,
> i want to using the DACL to control the device,such as the
> floppy,cdrom,partition,nic card ,usb etc.i do not know how to do it? i
> think it should use the driver to implement.
> enviornment:windows2000/xp/2003, fat32 file system,
> i must be in the fat32,and i do not appreciate to using the setupapi
> functions.
>
> _________________________________________________________________
> ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com
>
>

There have been articles in The NT Insider on this, written around the
time of, and subsequent to, Security Push (2002). Search OSR Online
(Ooops! I see we now index the DDK along with the OSR Online content…
Gotta fix that), or try:

http://www.osronline.com/article.cfm?article=100
http://www.osronline.com/article.cfm?article=105
http://www.osronline.com/article.cfm?id=109

Later,

Peter
OSR

thank you for the answers.
but i am so clearly about the idea,could someone give me a more detail and
a whole describe?it is better to give me some sample code.


Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn