I'm using moonlight with sunshine to stream my desktop to my mobile devices for remote access.
Is there a way for a script to toggle the all IO ports, except the ethernet, on and off to prevent direct hardware access during the remote section?
Or as a easier alternative just blocking mouse and keyboard input of specific devices is enough
I've tried a few ways, ahk, devcon, pnputil, padlock, which either intercepts inputs at a layer too high, or requires a restart to disable/enable devices.
And if im not mistaken autolt also intercepts at a high layer, in which case the remote desktop will also be blocked.
I'm not optimistic that there exist a solution out there anymore, can someone guide me a bit on how to start tackling this problem?
A gui solution would be a bit tedious, but i can always scrap a part of its source code for personal use
Thanks.