6.10.2. Disabling the unsafe action protection

In some cases, it is required to disable the protection mechanism against dangerous actions. To do this, you can use the following features:

  1. Deselect the Protection from dangerous actions (UnsafeActionProtection) check box in the properties of a specific user. This will disable the protection for this user.
  2. Use the UnsafeActionProtection parameter of the Create() and Attach() methods of the external data processor (reports) managers. In this case, you can load an external data processor (report) without user requests.
  3. Use the DisableUnsafeActionProtection parameter of the conf.cfg file. In this case, the protection mechanism against dangerous actions will be disabled for all users of the infobases, the connection strings of which satisfy the specified template.

Disabling protection against dangerous actions is performed according to the following rules (in the specified order):

  1. Protection is considered disabled, if the current user has a cleared UnsafeActionProtection check box.
  2. Protection is considered disabled, if an infobase connection string matches one of templates specified in the DisableUnsafeActionProtection parameter of the conf.cfg file.
  3. If external processing (a report) is attached with explicitly disabled protection using the UnsafeActionProtection parameter.
  4. If protection is explicitly disabled using the UnsafeActionProtection property of an extension.
Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002