Disabling the possibility to forward USB HID in virtual desktops and custom sessions

ID: FR03Q03793 Priority: High
Products: NoMachine Device Services Target: 6
Status: Approved  

In case of NoMachine virtual desktops and custom sessions, it's necessary to disable the possibility of forwarding USB Human Interface Devices (HID, e.g. mouse, keyboard, tablets etc ...). The USB forwarding would connect such devices to the physical desktop of the remote computer and they will never be available into the virtual desktop or custom session.

To avoid that, the NoMachine client should not list HID devices in the 'Connect USB device' panel, when the session is a virtual desktop or custom. Such devices can be instead forwarded when the user is connected to the physical desktop of the remote host.

The NoMachine server should verify if the device forwarded by the client is a HID device or not. If yes, and if the session is a virtual desktop or custom, it should refuse to connect it.