how to allow/deny access to cd-rom to various users on windows 2k either
through

1. programming

2.MMC

Thanks

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

Maxim
Wed Feb 07 05:39:12 CST 2007

MMC spec has no notion of "user", sorry.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"shoeb" <shoeb.ali@stellarinfo.com> wrote in message
news:eJn%23BknSHHA.3440@TK2MSFTNGP03.phx.gbl...
> how to allow/deny access to cd-rom to various users on windows 2k either
> through
>
> 1. programming
>
> 2.MMC
>
> Thanks
>
>


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

Vinoj
Fri Feb 09 05:38:56 CST 2007

On Feb 8, 12:00 am, "shoeb" <shoeb....@stellarinfo.com> wrote:
> how to allow/deny access to cd-rom to various users on windows 2k either
> through
>
> 1. programming
>
> 2.MMC
>
> Thanks

You should consider writing a file system filter driver. Get the
drive type in user mode and then find the user who is logged in and
then deny or allow the user.

Regards,
Vinoj


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

Don
Fri Feb 09 07:04:41 CST 2007

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.

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.

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.

I'm not sure why the OP thinks they need this, but if they explain there
may be a reasonable solution. Your suggestions are certainly not
reasonable.


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



"Vinoj" <vinoj.kumar.s@gmail.com> wrote in message
news:1171021136.296041.181100@p10g2000cwp.googlegroups.com...
> On Feb 8, 12:00 am, "shoeb" <shoeb....@stellarinfo.com> wrote:
>> how to allow/deny access to cd-rom to various users on windows 2k either
>> through
>>
>
> You should consider writing a file system filter driver. Get the
> drive type in user mode and then find the user who is logged in and
> then deny or allow the user.
>



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

Alexander
Fri Feb 09 22:16:55 CST 2007

I think it should be possible to put an ACL to the CD volume.

"Don Burn" <burn@stopspam.windrvr.com> wrote in message
news:uzblvrETHHA.4076@TK2MSFTNGP05.phx.gbl...
> 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.
>
> 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.
>
> 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.
>
> I'm not sure why the OP thinks they need this, but if they explain there
> may be a reasonable solution. Your suggestions are certainly not
> reasonable.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>
>
>
> "Vinoj" <vinoj.kumar.s@gmail.com> wrote in message
> news:1171021136.296041.181100@p10g2000cwp.googlegroups.com...
>> On Feb 8, 12:00 am, "shoeb" <shoeb....@stellarinfo.com> wrote:
>>> how to allow/deny access to cd-rom to various users on windows 2k either
>>> through
>>>
>>
>> You should consider writing a file system filter driver. Get the
>> drive type in user mode and then find the user who is logged in and
>> then deny or allow the user.
>>
>
>



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

Vinoj
Sat Feb 10 01:27:54 CST 2007

On Feb 9, 6:04 pm, "Don Burn" <b...@stopspam.windrvr.com> 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.



>
> 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.

>
> 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.

> I'm not sure why the OP thinks they need this, but if they explain there
> may be a reasonable solution. Your suggestions are certainly not
> reasonable.

If he really wants it then he can checkout but it is not the only
solution maybe.

Regards,
Vinoj

Author of the books : "Classic Utilities using Assembly Language",
(in sale at: www.firstandsecond.com) 1995 edition and
"Systems Programming for Windows", 2007.


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

Don
Sat Feb 10 07:13:44 CST 2007


"Vinoj" <vinoj.kumar.s@gmail.com> wrote in message
news:1171092474.223050.96640@a75g2000cwd.googlegroups.com...
> On Feb 9, 6:04 pm, "Don Burn" <b...@stopspam.windrvr.com> 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




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

shoeb
Mon Feb 19 17:57:04 CST 2007

I am going to develop a client server based device-locking software. its
purpose is same as that of SmartLine's DeviceLock i.e. allow or deny users
access to various devices on client machines. through some R&D i have found
using active-directory interface and mmc snap-ins will be a better choice
than writing device drivers. what is your opinion? client machines will be
windows 2k or xp.

shoeb


"Vinoj" <vinoj.kumar.s@gmail.com> wrote in message
news:1171092474.223050.96640@a75g2000cwd.googlegroups.com...
> On Feb 9, 6:04 pm, "Don Burn" <b...@stopspam.windrvr.com> 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.
>
>
>
> >
> > 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.
>
> >
> > 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.
>
> > I'm not sure why the OP thinks they need this, but if they explain there
> > may be a reasonable solution. Your suggestions are certainly not
> > reasonable.
>
> If he really wants it then he can checkout but it is not the only
> solution maybe.
>
> Regards,
> Vinoj
>
> Author of the books : "Classic Utilities using Assembly Language",
> (in sale at: www.firstandsecond.com) 1995 edition and
> "Systems Programming for Windows", 2007.
>