Re: how to allow/deny access to cd-rom to various users on windows 2k?




"Vinoj" <vinoj.kumar.s@xxxxxxxxx> wrote in message
news:1171092474.223050.96640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 9, 6:04 pm, "Don Burn" <b...@xxxxxxxxxxxxxxxxxxxx> wrote:
This is really a poor suggestion for many reasons. Some of the majors:

1. "The user who is logged in", as has been discussed before on this
forum, there can be more than one user "logged in", there can also be no
users logged in.

He says it is for Windows 2000 but not whether it is a server version
or a workstation version.

And your point is? If he puts it out for one, expect it to show up on the
other, especially since the install will not easily be able to determine
which it is.


2. File system filter driver. You are suggesting one of the hardest
programming models for this approach. Note: since the user is
concentrating on Windows 2000 there is a good chance that they want to
support Windows 2000 before the service packs needed for the mini-filter
model, making this really hard.


If he really wants it for a single system then he can use one of the
available filters like filemon for non commercial use.

Well first that is a comercial product, and will cost him a large sum to
buy the rights to use. Second, the file system community has discussed the
hacks that went into filemon ad nauseum, showing why you should not use it.

3. Get the drive type in user mode. This conficts with the file
system
filter, since you would want to only layer above these devices.


In the beginning getting the drive type is what filemon does when it
queries for volume info. I did a personal project called Deletion and
Access Control manager found in Codeguru.com->List of Gurus->V and
follw to my name. Let me give the link for Windows 95/98/ME version of
it: http://www.codeguru.com/cpp/w-p/files/article.php/c4459/

I did the same project for Windows 2k/Xp using filemon as my filter
driver for my personal purposes at home, and it worked fine in my
development computer sponsored to me by my company. But when I said
that the filemon driver crashes in my system because of low memory
conditions a few years back, Mark Russinovich sent me a contract for
$35,000 for using his program.

So I stopped using the project for even my personal purposes. Luckily
I had Filespy but it is far more complex that filemon.

Yes you were ripping off code that was posted as for research only, and
since so many people did rip it off, Mark removed the sources and makes
everyone pay.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



.



Relevant Pages

  • Re: DVD Driver Disabled
    ... I found my opticals both missing today. ... I removed the LOWER filter entry... ... > CD-ROM Drive or DVD-ROM Drive Missing After You Install Windows XP ... An alternate driver may be providing ...
    (microsoft.public.windowsxp.hardware)
  • Re: Could this be implemented with an NDIS or TDI driver?
    ... > I have UNIX development experience but am a Windows newbie. ... To sit above TCP but below applications the filter must be a TDI or AFD ... filter driver. ...
    (microsoft.public.development.device.drivers)
  • Re: Could this be implemented with an NDIS or TDI driver?
    ... > I have UNIX development experience but am a Windows newbie. ... To sit above TCP but below applications the filter must be a TDI or AFD ... filter driver. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: how to allow/deny access to cd-rom to various users on windows 2k?
    ... He says it is for Windows 2000 but not whether it is a server version ... File system filter driver. ... In the beginning getting the drive type is what filemon does when it ... So I stopped using the project for even my personal purposes. ...
    (microsoft.public.development.device.drivers)
  • Re: Im right about Drivers?
    ... You can write such a filter with UMDF. ... Windows XP SP2, Windows Server 2003 SP1 and Vista, if you need an earlier ... UMDF (the user mode WDF component) is supported for Windows XP ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)

Loading