Print Support

Restricting a protection area using masks and regular expressions

By default, Kaspersky Anti-Virus scans all objects within the scan or protection area.

You can specify templates for the names or paths of the files to scan. In this case, Kaspersky Anti-Virus will only scan files or directories from the protected area that are specified using Shell masks or ECMA-262 regular expressions.

Using Shell masks, you can specify the file name template to scan by Kaspersky Anti-Virus.

Using regular expressions, you can specify the file path template to scan by Kaspersky Anti-Virus. A regular expression cannot contain the name of the folder which defines the scan or protection area.

To restrict a protection area using masks and regular expressions, perform the following steps:

  1. In the left part of Kaspersky Web Management Console select the Real-time protection task type.
  2. Select theProtection areas tab.
  3. Within the line containing the selected protection area, click the link in the Objects column.

    This will open the Task settings window on the Object masks tab.

  4. Next to the Scan only such objects field, click the button and specify the templates for the masks or paths of the files to be scanned.

    Regular expressions should be identified by the re: prefix. For example: re:.*/Documents/.

  5. Click anywhere in the window with the mouse or press ENTER to save the mask.
  6. Click OK to close the Task settings window.
  7. On the Protection areastab, click the Save button to save the changes.

You can delete from the list all templates for the masks or paths using the button delete.bmp.

Page topPage top
Latest revision: 4/18/2013 7:27:23 PM.
© 2014 Kaspersky Lab ZAO. All Rights Reserved.
Leave feedback about the Help