File Rules

File Rules allow you to create rules containing either block or allow actions for file extensions, file types or file expressions. File rules are assigned to Spam/Virus/File Policies which in turn are assigned to Internal Recipients.

Hermes SEG file rules are processed from the top down fashion. In other words, as a file rule gets processed, block/allow actions on the to of the rule get processed first. If a match is found then the action is taken and all further processing of the rule stops.

Default System File Rule

Hermes SEG already comes pre-configured with a Default System File Rule which is assigned to all the system Spam/Virus/File Policies. The Default System File Rule cannot be edited, it can only be viewed or copied in order to be used as a starting point in creating custom file rules (Figure 1).

Figure 1

image-1609598667051.png

View Default File Rule

Note: You cannot make any changes to the Default file rule.

  1. Under the System File Rules section click on theimage-1609598674847.pngicon under the Actions column of the Default file rule.
  2. On the View File Rule page, you will see a listing of file types and corresponding actions for those file types (Figure 2).

Figure 2

image-1609598685905.png

  1. Click on the Back to File Rules button on the bottom of the page to return to the File Rules page (Figure 3).

Figure 3

image-1609598693114.png

Create Custom File Rule by copying Default File Rule or any Custom File Rule

This method will allow you to copy the Default File Rule or any Custom File Rule (assuming there are existing custom file rules) and using it as a starting point for a new custom file rule.

  1. Under the System File Rules section or the Custom File Rules (if there are already existing custom file rules) section, click on theimage-1609598701594.pngicon under the Actions column of the file rule you wish to copy. You will be redirected to the Copy File Rule page in order to create and customize a new file rule based on the file rule you choose (Figure 4).

Figure 4

image-1609598713214.png

Add File Types

  1. On the Copy File Rule page, under the File Type drop-down field, select a file type. Note that the File Type drop-down is organized in sections of HIGH-RISK FILE EXTENSIONS, HIGH RISK FILE TYPES, HIGH RISK MIME TYPES, FILE EXTENSIONS, FILE TYPES, MIME TYPES, OTHER TYPES and CUSTOM-EXPRESSIONS (Figure 5).

Figure 5

image-1609598724470.png

  1. Under the Action field, select either a Ban or Allow action and then click on the Add button (Figure 6).

Figure 6

image-1609598733741.png

  1. As you add File Types and their associated actions, they show up on the bottom of the File Types and Actions to be added section (Figure 7).

Figure 7