Fortinet black logo

Administration Guide

Create or edit a file filter rule

Create or edit a file filter rule

You can create or edit rules for the file filter profile.

To create a file filter rule:
  1. Go to Security Profiles > File Filter.

  2. Click Create New or select a file filter profile and then click Edit.

  3. In the Rules table, select Create New. The Create New File Filter Rule window opens.

  4. Enter the name of the file filter rule.

  5. Enter an optional description of the file filter rule.

  6. Select one or more protocols.

  7. Select Incoming, Outgoing, or Both.

  8. Enable Password-protected only if you want to just match password-protected files.

  9. Select the file types to match.

  10. Select the action to take when the rule is matched:

    • Block: Block access to any file that matches the rule.

    • Monitor: Monitor traffic to and from files matching the rule.

  11. Click OK to save the file filter rule.

  12. Click OK to save the file filter profile.

To edit a file filter rule:
  1. Go to Security Profiles > File Filter.

  2. Click Create New or select a file filter profile and then click Edit.

  3. In the Rules table, double-click on a rule or select the rule and then click Edit in the toolbar.

  4. Edit the rule settings as required.

  5. Click OK to save your changes to the file filter rule.

  6. Click OK to save the file filter profile.

Create or edit a file filter rule

You can create or edit rules for the file filter profile.

To create a file filter rule:
  1. Go to Security Profiles > File Filter.

  2. Click Create New or select a file filter profile and then click Edit.

  3. In the Rules table, select Create New. The Create New File Filter Rule window opens.

  4. Enter the name of the file filter rule.

  5. Enter an optional description of the file filter rule.

  6. Select one or more protocols.

  7. Select Incoming, Outgoing, or Both.

  8. Enable Password-protected only if you want to just match password-protected files.

  9. Select the file types to match.

  10. Select the action to take when the rule is matched:

    • Block: Block access to any file that matches the rule.

    • Monitor: Monitor traffic to and from files matching the rule.

  11. Click OK to save the file filter rule.

  12. Click OK to save the file filter profile.

To edit a file filter rule:
  1. Go to Security Profiles > File Filter.

  2. Click Create New or select a file filter profile and then click Edit.

  3. In the Rules table, double-click on a rule or select the rule and then click Edit in the toolbar.

  4. Edit the rule settings as required.

  5. Click OK to save your changes to the file filter rule.

  6. Click OK to save the file filter profile.