Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 10
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
    • Firewall
      • Forwarding Firewall
        • Default Forwarding Firewall Rules
        • Understanding Access Rules, Application Rules, and Policy Profiles
        • Access Rules
        • Policy Profiles
        • Firewall Objects
        • Application Control
        • TLS Inspection in the Firewall
        • Virus Scanning and ATP in the Firewall
        • URL Filtering in the Firewall
        • File Content Filtering in the Firewall
          • How to Create File Content Policies
          • How to Configure File Content Filtering in the Firewall
        • Mail Security in the Firewall
        • User Agent Filtering in the Firewall
        • How to Enforce SafeSearch in the Firewall
        • How to Configure Google Accounts Filtering in the Firewall
        • How to Block Search Terms using a Custom Application Object
        • How to Configure Custom Block Pages and Texts
        • Botnet and Spyware Protection in the Firewall
        • Intrusion Prevention System (IPS)
        • Traffic Shaping
        • Bridging
        • Firewall Plugin Modules
        • Firewall Authentication and Guest Access
        • How to Configure ICMP Settings
        • How to Configure IPv6 Header Settings
      • Host Firewall
      • Firewall Settings
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
    • Edge Computing
  • Automated Critical Updates
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Create File Content Policies
    Published Jan 09

    How to Create File Content Policies

    Jan 09, 2026
    Subscribe

    File content policies contain a list of policy rules that are evaluated from top to bottom. The action set in the first matching policy rule is executed. You must include at least one of the following criteria and define if the criteria are combined with a Boolean AND or OR. Empty criteria are ignored.

    • Content Type – You can add file types by category or individually.

    • File Name patterns – Pattern matching the file name.

    • MIME Type patterns – Pattern matching the MIME type patterns for HTTP and SMTP. If a MIME type pattern is configured, HTTP, SMTP, and FTP connections that do not include a MIME type will cause the file content policy rule to not match if used with a Boolean AND.

    Create a File Content Policy Object

    1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

    2. Click Lock.

    3. From the left menu, select File Content.

    4. Right-click the table and select New File Content Policy. The Edit File Content Policy Object window opens.

    5. Enter a Name.

    6. Select the default policy:

      • Allow

      • Alert

      • Do not log

    7. Click + to add a File Content Policy Rule.

    8. Double-click the new file content policy rule. The Edit File Content Policy Rule windows opens.

    9. (optional) Select the logic operator how the matching criteria are combined: AND or OR. Default: OR.

    10. (optional) Change the QoS Band.

    11. Select the policy for the File Content Policy rule. For more information, see File Content Filtering in the Firewall.

      • Allow – allow and log (logfile and Barracuda Firewall Admin)

      • Block – block and log (logfile and Barracuda Firewall Admin)

      • Alert – allow and show in Firewall Monitor only.

      • Do not log – allow and do not log.

    12. Configure at least one of the following:

      • Content Type – Use the filter to find the content type and double-click the entry to add it to the Selected Content Types section.

      • File Name Pattern – In the File Name Patterns section, click + to add one or more file name patterns. File name patterns may contain * and ? wildcard characters.

      • MIME Type Pattern – In the Mime Types Patterns section, click + to add one or more MIME type patterns. MIME type patterns may contain * and ? wildcard characters.

        If MIME type patterns are used in combination with a Boolean AND, all connections without a MIME type are blocked. FTP connections never include a MIME type.

    13. Click Save.

    14. (optional) Add additional File Content Policy Rules.

    15. Use the up and down arrows (

      ) to sort the policy rules so that the policy rule that should match first is on top.

    16. Click Save.

    17. Click Send Changes and Activate. 

    To use the file content policy in an application rule, see How to Configure File Content Filtering in the Firewall.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 27, "requestCorrelationId": "5f19049f9b784b4da385d4861aa896d4"}