V
V
Vyacheslav Bobrov2016-03-14 15:49:32
C++ / C#
Vyacheslav Bobrov, 2016-03-14 15:49:32

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

1 answer(s)
M
mace-ftl, 2016-03-14
@mace-ftl

if CORRECT, then microsoft detours

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question