# Enable file filtering in policy elements

When you enable file filtering in Firewall, IPS, Layer 2 Firewall, or Layer 2 Interface Policy elements, traffic is checked against the File Filtering Policy.

##

Note: To enable file filtering in a Layer 2 Interface Policy, you must enable file filtering and select the File Filtering Policy in the Firewall Policy.

For more details about the product and how to configure features, click Help or press F1.

## Steps

1. Select Configuration.
2. Right-click a policy and select Edit <policy type>.
3. On the IPv4 Access or IPv6 Access tab, enable file filtering in existing rules or add new rules.
   - Enable File Filtering in the action options of individual Access rules.
   - Add rules with the Continue action to set defaults for file filtering.
   To use file filtering for the IMAPS, HTTPS, or POP3S protocols, you must use a Service element that enables decryption and inspection, and enable TLS decryption on the NGFW Engine.
4. (Not available in Layer 2 Interface Policies) On the Inspection tab, select the File Filtering Policy.
   If there is no custom File Filtering Policy, the default File Filtering Policy is used.
5. To save and install the policy, click Save and Install.