Answer the question
In order to leave comments, you need to log in
How to control access to USB devices?
Tell me where to start and in which direction to dig. There is a small need to write a program (service) that will control access to USB devices. A small analogue of DeviceLock.
I imagine it like this. The (winapi) WM_DEVICECHANGE message needs to be monitored. If the device is in the white list, then everything is good. If not, then blocking access. But how to implement this blocking? Hooks? Interception?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question