This section describes how to configure file blocking.
Each security policy rule references one file blocking profile to block the upload and download of the specified files or generates logs when the specified files are detected.
The FW has a default file blocking profile named default. In the default profile, actions for all protocols and in upload and download directions are set to Alert. You cannot modify or delete the default profile.
When you reference a profile in a security policy, you can view the name of the default profile in the drop-down list. To view the configuration result, choose . In Current Configuration, you can view that the security policy references the default profile, but the configuration information about the default profile is not displayed.
You can run the display profile type file-block name default command on the CLI to view the configuration information about the default profile. IF you use the CLI to reference the default profile in a security policy, you must enter the complete profile name (such as default). Otherwise, the profile fails to be referenced. To view the configuration result, run the display current-configuration command. Then you can view that the security policy references the default profile, but the configuration information about the default profile is not displayed.
The FW supports user-defined profiles. You can specify different actions for each file category in its upload and download directions.
Parameter |
Description |
|---|---|
Name |
Name of a file blocking profile. The name must be unique. The name is displayed in the parameter list of file blocking during the configuration of security policies. |
Description |
Description of the file blocking profile. The description helps the administrator understand the functions of the file blocking profile and maintain the profile. For example, a description could be "Blocks the download of .exe files through FTP". |
The configuration does not take immediate effect after you create or modify the profile. You must click Commit on the upper right of the interface to activate the configuration. To save time, you can commit the configuration after all operations on the profile are complete.