Re: programmatically install a class filter driver



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"


.



Relevant Pages

  • Re: Microsoft please help! NDIS Intermediate driver bindings
    ... I certainly agree that control of NDIS IM filter stacking order is a real ... Controlling Stacking Order of NDIS 5.0 Intermediate Drivers" ... If another intermediate filter driver ...
    (microsoft.public.development.device.drivers)
  • Re: Opening a Filter Driver
    ... In this it would be just like normal PCI driver ... Don Burn (MVP, Windows DDK) ... If you wish to have a seperate control path for the filter, you>> should create another device object in the filter to send control requests>> to. ...
    (microsoft.public.development.device.drivers)
  • Re: Havent done anything real with OOP yet.
    ... solid target, 30 minutes for the liquid He-3 filled target. ... That's one user-adjustable time constant. ... filter; you don't have a lock-in amplifier unless you have a filter. ... signal from the lock-in, calculates a control action, and signals a DC ...
    (comp.object)
  • RE: Child control is changing data on exit, how to stop?
    ... that means the Control Source for the control is ... The subform has Office Name as the link child and master fields. ... Does not position the form to the selected doctor? ... what else do I have to add to get this cbo to filter the subform ...
    (microsoft.public.access.forms)
  • Re: Basic Stamp controlled pinball machine
    ... There isn't a special driver. ... DC-16 works by taking a serial instruction from the BS-2 ... AND the expansion board have ULN2803's for output control, ... So this may expand your I/O, but it does it at the cost of latency. ...
    (rec.games.pinball)