Application firewall scans application layer network traffic as it passes through the gateway and looks for content that matches configured keywords. When it finds a match, it performs the configured action. It can match text or binary content. When you configure application firewall, you create policies that define the type of applications to scan, the direction, the content or keywords to match. You could also optionally define the user or domain to match, and the action to perform.
Application firewall can be very effective for certain types of email control, especially when a blanket policy is desired. For example, you can prevent sending attachments of a given type, such as .exe, on a per-user basis, or for an entire domain.
This article illustrates the method to block email attachments with a certain extension.
NOTE: The configuration listed below will not work if the POP account or the mail server uses a secure connection (SSL) for sending mail.
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
Application Firewall is license based. You can view the status of your licenses at Manage | Updates | Licenses page. You must enable Application Firewall (Advanced Application Control)Â to activate its functionality.
Defining an Match Object



NOTE: You could add more extension for other file types to the application object we created.
Defining an Action Object - Disable Email Attachment


Creating an Application Firewall Policy




How to Test:
To test this scenario send a mail from your POP or mail server account with one of the attachments listed under the application object created. You should see alerts similar to the ones shown below in the log.

The recepient will receive the mail with the original attachment and a new text file. The text file will contain whatever text you entered when creating the Application Firewall Action object. The attachment itself will contain junk characters.


Â
Â
The below resolution is for customers using SonicOS 6.2 and earlier firmware. For firewalls that are generation 6 and newer we suggest to upgrade to the latest general release of SonicOS 6.5 firmware.
Application Firewall is license based. You can view the status of your license at the top of the Application Firewall | Policies page. You must enable Application Firewall to activate its functionality.
Defining an Application Object

 NOTE: You could add more extension for other file types to the application object we created.
Defining an Action - Disable Email Attachment

Creating an Application Firewall Policy
Navigate to the Application Firewall | Policies page.
Click on Add New Policy.
Create 2 new policies with the following information and click on OK to save.


How to Test:
To test this scenario send a mail from your POP or mail server account with one of the attachments listed under the application object created. You should see alerts similar to the ones shown below in the log.

The recepient will receive the mail with the original attachment and a new text file. The text file will contain whatever text you entered when creating the Application Firewall Action object. The attachment itself will contain junk characters.


Â