Oscar
Oscar

Reputation: 13

How to disable windows USB support(Driver) and allow just a specific certified device

i'm working on a project where i need to create an "embeded system". for some issues i have an usb port which is free accessible to the public. i would like to develop a system where i can plugin an USB (standard windows format NTFS/FAT) but it will be accepted by windows system only if there is for example an specific file (certificate) on it, in any other cases windows system will not be able to access the file as a storage. (and of course no other storage will be allowed)

my first idea was to write a kernel hook or an driver. but i'm not sure if i'm on the right way, because as i understand i would also need to write an ring 0 one? to prevent windows from using they standard usb drivers first?

any ideas? any examples?

thx :)

Upvotes: 0

Views: 197

Answers (1)

Preston
Preston

Reputation: 2653

You will want to develop a File System Filter driver. Here is a link to a nice tutorial on Code Project. Also, Rajeev Nagar's Windows NT File System Internals will have the most helpful information on the topic.

Upvotes: 1

Related Questions