// JP opened flex table

Click to See Complete Forum and Search --> : Locking the floppy drive and CD-Rom..


santoshthankach
October 27th, 2004, 12:14 AM
:wave: All,

Requirement :
Locking the floppy drive and CD-Rom based on some user rights or privileges (may be stored in some configuration file.)

Question :
Does someone has some sample or code snippet showing as how to lock the specific devices programatically? Devices should be controlled depending on as to which user is logged on currently.

My OS is windows-2k or Windows XP. Some relevant articles or code snippets would be really helpful?


Thanks in Advance :)
Santosh

Mick
October 27th, 2004, 12:57 AM
http://www.codeguru.com/forum/showthread.php?t=124586

grab the sd.zip attachment.

santoshthankach
October 27th, 2004, 02:32 AM
Thanks Mick, I will go through the attachment and will let you know whether it works for me or not.

Also my requirement is that I just want to lock the floppy drive (for particular users during their logon) in case the user does not have sufficient rights to access floppy or CD Rom drive.

Does sd.zip will help me to do this?

Thanks again
Santosh

//JP added flex table