How to Configure USB Access Control
You can allow and prohibit the use of USB devices on your endpoint device. Specific rules for individual devices or device classes are possible.
The activation of USB Access Control and setting the Default rule to Deny will block the use of USB devices locally and in the session and, thus, might disable devices needed for the users. Therefore, activate the USB access control only if your security policy requires that. In this case, set Default rule to Deny and configure Allow rules for the required USB devices and USB device classes.
It is recommended to make settings for USB Access Control as the last step in the device configuration. Before activating the USB access control, check that all your other settings for printers, Unified Communication, USB redirections, mapping settings for USB devices are working as expected.
Note that the USB access control is completely separate than USB redirection for remote sessions, see When to Use USB Redirection.
Take also notice that the feature does not disable a USB port physically, i.e. power delivery will still work.
Enable USB Access Control
Open the Setup and go to Devices > USB Access Control.
Enable the option Enable.
Select the Default Rule. The default rule specifies whether the use of USB devices is generally allowed or prohibited.
Create one or more rules for classes of devices or individual devices.
Create a Class Rule
To create a new rule, click in the Class Rules area.
Choose a rule. The rule specifies whether use of the device class defined here is allowed or prohibited.
Under Class ID, select the class of device for which the rule should apply. Examples: Audio, Printer, Mass Storage.
Under Name, give a name for the rule.
Click OK.
Save the changes.
The rule is active.
Create a Device Rule
When a rule is defined, at least one of the properties Vendor ID or Product ID or UUID must be given.
To create a new rule, click in the Device Rules area.
Choose a rule. The rule specifies whether use of the device defined here is allowed or prohibited.
Give the Vendor ID of the device as a hexadecimal value.
Give the Product ID of the device as a hexadecimal value.
Getting USB Device Information
To find out the Class ID, Subclass ID, Vendor ID and Product ID of the connected USB device, you can use the System Information tool. For further information, see Using System Information Function.
System Information example:
Alternatively, you can use the command
lsusb
(orlsusb | grep -i [search term]
) in the terminal.Example for
lsusb
:Give the Device UUID (Universal Unique Identifier) of the device.
Specify Permissions for the device.
Possible values:Global setting: The default setting for hotplug storage devices is used; see Default permission parameter under Devices > Storage Devices > Storage Hotplug.
Read only
Read/Write
Under Name, give a name for the rule.
Click OK.
Save the changes.
The rule is active.
Example
The set rule prohibits the use of USB devices on the device.
A class rule allows the use of all entry devices (HID = Human Interface Devices).
A device rule allows the use of the USB storage device with the UUID 67FC-FDC6.
The use of all other USB devices, for example, storage devices or printers, is prohibited.