Rules can be added to the computer configuration:
using the command line.
To add a rule to the configuration via the command line, use the command:
ibatyr acl 'правило' 'значение' 'конфигурация1 | конфигурация2 |...'
To remove a rule from the configuration:
ibatyr acl 'правило' 'значение' 'конфигурация1 | конфигурация2 |...' --drop
When adding rules to the configuration, it is important to remember:
if you do not specify the configuration name in the command to add or delete a rule, the rule will be added or deleted in global configuration;
Values containing spaces must be specified in quotation marks.
Command examples
Add a rule to the global configuration that prohibits substitution of the certificate for the site example.com:
ibatyr acl 'PROXY_SSL_APP_EXCLUDE' 'example.com'
Remove from the TD and Default Configuration the rule blocking the USB device with Device ID USBVID_16&PID_B18030131:
ibatyr acl 'USB_EXCLUDE' 'USB\VID_16&PID_B18\030131' 'TD|Конфигурация по умолчанию' --drop
Available rules
Rule |
Chapter |
Description |
|---|---|---|
APP_RUN_EXCLUDE |
Prohibit |
|
APP_RUN_INCLUDE |
Allow |
|
APP_RUN_BLACKLIST |
Prohibit |
|
APP_RUN_WHITELIST |
Allow |
|
FILE_PATH_EXCLUDE |
Prohibit |
|
FILE_PATH_INCLUDE |
Allow |
|
FILE_APP_EXCLUDE |
Prohibit |
|
FILE_APP_INCLUDE |
Allow |
|
FILE_APP_READ_EXCLUDE |
Prohibit |
|
FILE_APP_READ_INCLUDE |
Allow |
|
SPECIAL_DOC_LIST |
Allow |
|
PROXY_APP_EXCLUDE |
Network Connections - Rules: Network Monitoring - Applications |
Prohibit |
PROXY_APP_INCLUDE |
Network Connections - Rules: Network Monitoring - Applications |
Allow |
PROXY_IP_EXCLUDE |
Prohibit |
|
PROXY_IP_INCLUDE |
Allow |
|
PROXY_PORT_EXCLUDE |
Prohibit |
|
PROXY_PORT_INCLUDE |
Allow |
|
PROXY_URL_EXCLUDE |
Prohibit |
|
PROXY_URL_INCLUDE |
Allow |
|
PROXY_SSL_APP_EXCLUDE |
Network connections - Rules: Network monitoring - Certificate substitution |
Prohibit |
PROXY_SSL_APP_INCLUDE |
Network connections - Rules: Network monitoring - Certificate substitution |
Allow |
REPORT_NET_PORT_EXCLUDE |
Network connections - Rules: Network monitoring - Sending reports by port |
Prohibit |
REPORT_NET_PORT_INCLUDE |
Network connections - Rules: Network monitoring - Sending reports by port |
Allow |
USB_EXCLUDE |
Prohibit |
|
USB_INCLUDE |
Allow |
|
USB_CLASS_EXCLUDE |
Prohibit |
|
USB_CLASS_INCLUDE |
Allow |
|
WEB_SITES_BLACKLIST |
Prohibit |
|
WEB_SITES_WHITELIST |
Allow |
|
WEB_CONTENTTYPE_EXCLUDE |
Internet - Rules: Web monitoring - Sending reports by content type |
Prohibit |
WEB_CONTENTTYPE_INCLUDE |
Internet - Rules: Web monitoring - Sending reports by content type |
Allow |
SPECIAL_APP_LIST |
Allow |
|
KBD_APP_EXCLUDE |
Keyboard and clipboard - Rules: Keyboard interception - Applications |
Prohibit |
KBD_APP_INCLUDE |
Keyboard and clipboard - Rules: Keyboard interception - Applications |
Allow |
ACCOUNT_BLACKLIST |
Prohibit |
|
ACCOUNT_WHITELIST |
Allow |
|
WATCH_FILES |
Allow |
Adding tags to devices
The acl utility allows you not only to create rules for computer configurations, but also to work with USB device labels.
To work with labels with the USB_EXCLUDE, USB_INCLUDE, USB_CLASS_EXCLUDE and USB_CLASS_INCLUDE commands, use the --add_label= parameter, which adds the label value to the specified device.
Command syntax when working with tags:
ibatyr acl USB_EXCLUDE device_id my_config --add_label=my_label
This command populates the Devices - Rules: Block-USB - Deny rule with the device_id value in the my_config configuration, and in the Control Panel - Devices section adds the my_label label to the device with the same device_id.
Note
If a device with the specified device_id is not in the list, it will be created.