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 Web Security Gateway
Results will update as you type.
  • How to Update Your Notification Email Addresses and SMTP Server Setting
  • Release Notes
  • Getting Started
  • Deployment Options
  • Filtering Traffic for Offsite and Mobile Users
  • Securing the Barracuda Web Security Gateway
  • Managing Policies
    • Best Practices in Configuring Policy
    • BLOCK/ACCEPT Order of Precedence - Barracuda Web Security Gateway
    • Creating Block and Accept Policies
    • Block Messages
    • Block Pages, SSL Inspection and HTTPS Filtering
    • Using Custom Categories
    • Web and Desktop Application Control
    • How to Configure Web Application Monitoring Version 10 and Above
    • How to Configure Web Application Monitoring Version 9.x
    • How to Configure Web Application Monitoring version 6.x - 7.x
    • Exception Policies
    • Policy Rule Checking
    • Barracuda Web Security Gateway for Education
    • How to Restrict YouTube Content On Your Network
    • How to Enable SafeSearch
    • Suspicious and Sensitive Keyword Tracking
    • Temporary Access for Education
    • How to Use Temporary Access for Students - Teacher's Guide
    • Captive Portal Terms and Conditions Page
    • How to Disable Auto-Complete for Popular Search Engines
    • How to Block Skype for Business
  • Encrypted Traffic Filtering With the Barracuda Web Security Gateway
  • Managing Users and Groups
  • Advanced Configuration
  • Monitoring the System
  • Maintenance
  • Web Use Categories
  • About the Barracuda Web Security Gateway Hardware
  • Web Categorization Upgrade for Barracuda Web Security Gateway 15.x

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Best Practices in Configuring Policy
    Published Jan 14

    Best Practices in Configuring Policy

    Jan 14, 2026
    Subscribe

    Begin creating filtering policies which you can assign to specific users and/or groups by following the best practices listed below. The BLOCK/ACCEPT pages in the web interface provide a wide range of filters that enhance the default spyware and virus detection capabilities of the Barracuda Web Security Gateway. Note that application filtering is supported by the Barracuda Web Security Gateway appliance, but not by the Barracuda Web Security Gateway Vx virtual machine.

    Users and Groups for Authentication

    You can apply domain, IP address, pattern, content, application, and MIME type blocking filters to authenticated and/or unauthenticated users. The first step in creating your policy should be deciding which categories your users will not be allowed to visit (Adult Content, Game Playing & Game Media, Streaming Media, etc.). You can later override this policy using exception policies to grant either additional or more restrictive access for individual users or groups. Before you create or modify a filter, make sure to use the drop-down menu on the right side of the web interface page to select which type of user you want the filter applied to (authenticated or unauthenticated).

    Use the USERS/GROUPS pages to manage users and authentication. See Managing Users and Groups to get started.

    Exception Policies for Specific Access

    Exceptions are useful for creating policies that allow a subset of your users to access content that is blocked for other users. On the BLOCK/ACCEPT > Exceptions page, you can create policies to override filters you have created on a per-user or group basis. For example, if you configure your content filters to block access to auction sites for both authenticated and unauthenticated users, but a member of your purchasing department requires access to these sites, you can create an exception policy that allows access to only this user. Or you could create an exception for the entire purchasing department (a 'Group') using the LDAP organizational unit in your Active Directory server.

    Exception policies are applied in the order in which they are listed in the table on the BLOCK/ACCEPT > Exceptions page of the web interface. You can drag and drop exceptions to re-order them in the table. See Exception Policies for details.

    Block Pages and Authorized Logins

    When a user tries to access content that is blocked by one of the assigned filters, the user receives a block message (see Figure 1 below) that may contain login fields, depending on how you configure authentication on your Barracuda Web Security Gateway. If you want to hide the login fields because you have not created any exception policies that allow users to bypass the block filter, go to the BLOCK/ACCEPT > Configuration page and change the Enable Login Override of Block Pages setting to No. Note that remote users who access the Barracuda Web Security Gateway via the Remote Filtering (WSA) feature or via the Barracuda Safe Browser on their mobile devices will not see login fields on block pages.

                    Figure 1:  Block Message with Login Fields
                     

    Block Page Login BWSG.png

    The Barracuda Web Security Gateway will recognize specific types of block and accept rules in the order they are listed (from top to bottom). If conflicting rules are created, the rule listed first will be honored (see 1.Exceptions below) . After exceptions, allow lists for URLs and domains take precedence over block lists, followed by the block rules for applications and content filter categories. On the application and content filter pages, the Allow setting really means "don't match/ignore". Unmatched requests are allowed by default.

    Custom Categories

    When the custom category a URL belongs to is set to Allow, that means that the custom category will not cause a block, but the URL is still checked against other categories. If the URL belongs to a blocked category, then that URL is blocked.

    This rule can be overridden by one of the following:

    • Using the Recategorize Domains option when creating the custom category on the BLOCK/ACCEPT > Custom Categories page.

    • Creating an exception (BLOCK/ACCEPT > Exceptions page) for the custom category to make sure the rule configured for the custom category will take precedence.

    • Note also the local recategorization option that might affect whether a custom category applies.

    Block/Allow Rule Order of Precedence

    The rules you configure under the BLOCK/ACCEPT tab are applied in a specific order, and it is important to understand that order before creating policies. See BLOCK/ACCEPT Order of Precedence for details. 


    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": 12, "requestCorrelationId": "05b578a899cb48e09c364c9400829dbd"}