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).
View Default File Rule
Note: You cannot make any changes to the Default file rule.
- Under the System File Rules section click on theicon under the Actions column of the Default file rule.
- On the View File Rule page, you will see a listing of file types and corresponding actions for those file types (Figure 2).
- Click on the Back to File Rules button on the bottom of the page to return to the File Rules page (Figure 3).
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.
- Under the System File Rules section or the Custom File Rules (if there are already existing custom file rules) section, click on theicon 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).
Add File Types
- 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).
- Under the Action field, select either a Ban or Allow action and then click on the Add button (Figure 6).
- 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).