I am trying to make an application that will write protect devices like CD/DVD, Floppy, Flash Key, External hard disk etc. The devices can be connected through USB and FIREWIRE. Windows provides some registry keys. But, they do not work for all cases. For eg. there is a key to writeprotecting usb storage devices, but none for FIREWIRE devices. And its not per device.
I am trying to programatically make some devices write protected while keeping others as ReadWrite. i.e if I have two usb Flash Keys, then my programm must be able to writeprotect the first one, while the second one should function normally.
I want to programatically write protect the following per device: 1. the USB and FIREWIRE storage devices [flash key, external hard disk]. 2. the USB and FIREWIRE Floppy, CD/DVD.