Re: programmatically install a class filter driver
- From: "Don Burn" <burn@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Sep 2007 08:34:08 -0400
If your filter is creating a control device for communication, there are
two simple things to do. Use IoCreateDeviceSecure to create the control
device and specify security such that only a unique account that you set up
for your application can access it. Second, when creating the control
device specify exclusive so only one copy of the application can open it.
There are a lot of other schemes that are either more complex, such as
checking the security on the open in the driver yourself, or not really
effective, such as checking what the applications name is (this can easily
be faked). The IoCreateDeviceSecure is the simple model that most people
use.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Nidhi Malik" <nidhi.malik@xxxxxxxxxxxxxxx> wrote in message
news:%23sInqcT9HHA.4432@xxxxxxxxxxxxxxxxxxxxxxx
"Nidhi Malik" <nidhi.malik@xxxxxxxxxxxxxxx> wrote in message
news:ejF%23qTT9HHA.536@xxxxxxxxxxxxxxxxxxxxxxx
Hi all ,
I have install my filter driver fdriver.sys as upper filter on disk.sys
using inf file( start type : SERVICE_BOOT_START ) . Now i want its
personal interaction from my win32 application. So that fdriver.sys
will not receive request from any application other than my
application.So,basically i want to write a appliction that will be the
only application that can interact with my driver. Can anybody suggest
something.
Thanks in advance
Nidhi
Actually i have install my driver as upper class filter as
HKLM,
System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318},
UpperFilters, 0x00010008, fdriver
where Class = "DiskDrive"
.
- References:
- programmatically install a class filter driver
- From: Nidhi Malik
- Re: programmatically install a class filter driver
- From: Nidhi Malik
- programmatically install a class filter driver
- Prev by Date: Re: programmatically install a class filter driver
- Next by Date: Re: how to choose Ignore while install driver by coding C++?
- Previous by thread: Re: programmatically install a class filter driver
- Index(es):
Relevant Pages
|