It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Enforce SafeSearch in the Firewall

  • Last updated on

You can protect users behind a Barracuda CloudGen Firewall from undesired content in search results by enabling SafeSearch for the access rule handling web traffic. The necessary parameters are automatically appended to the URL when the request is forwarded by the firewall to enforce SafeSearch. SafeSearch is supported for Google, Bing, Yahoo, and YouTube search engines.


  • SafeSearch relies on the supported search engines to honor and filter the search results. The firewall can enable this feature, but the execution is left up to the search engine.
  • SafeSearch is not enforced for mobile search apps.
  • SafeSearch is always set to strict.

Before You Begin

Create an Access Rule to Enforce SafeSearch

You can enforce the usage of SafeSearch for all web traffic matching an access rule by enabling the SafeSearch settings in the Application Control settings of the access rule.

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.
  2. Click Lock.
  3. Either click the plus icon (+) at the top right of the ruleset, or right-click the ruleset and select New > Rule.
  4. Select Pass as the action.
  5. Enter a name for the rule. For example, SafeSearch-LAN-2-INTERNET
  6. Specify the following settings to match your web traffic:
    • Source – The source addresses of the traffic.
    • Destination – Select Internet.
    • Service – Select HTTP+S
    • Connection Method – Select Dynamic NAT
  7. Click on the Application Policy link and select:
    • Application Control – Required.
    • SSL Inspection – Required for search provides which are available exclusively via HTTPS.
    • URL Filter – Optional. 
    • Safe Search – Required.
  8. If configured, select a policy from the SSL Inspection Policy drop-down list. For more information, see How to Configure Outbound SSL Inspection.
  9. (optional) Set additional matching criteria:
  10. Click OK.
  11. Click Send Changes and Activate.

Every search query handled by this access rule now automatically enables the SafeSearch feature of the search engine provider.


Disabling SafeSearch for YouTube

In addition to removing the policy on the matching access rules, it is also necessary to clear the browser cache to remove the YouTube SafeSearch cookie.