Attachment compliance

Attachments are particularly prone to leaks and attacks and, with Gmail for Business, you can create rules to control them based on their type, name, and size so that you can define how they should be handled.

Gmail uses binary file-type detection for most common types to prevent users from trying to bypass the rules by changing the file extension. To get started, click on CONFIGURE to set up a new rule:

Let's start by adding a short description for this rule and then selecting the type of messages this rule should target:

The next step is to define what this rule will be targeting in the messages. You can create expressions that target attachments by type, name, or size. You must choose whether you need to make this rule active if any of the conditions are a match, or only when all the conditions are met, choose the one that you need, and click ADD to add a new expression. You can add many different expressions, even if they are of different types. This gives you great flexibility so you can be as broad or accurate as required:

The last setting of an attachment compliance rule defines what must be done with messages that meets the rule's criteria, thereby allowing you to do any of the following: