You can protect users behind a Barracuda NextGen Firewall F-Series from undesired content in search results by enabling Safe Search 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. Safe Search is supported for Google, Bing, Yahoo and YouTube search engines.
- Safe Search 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.
- Safe Search is not enforced for mobile search apps.
- Safe Search is always set to strict.
Before You Begin
- The Feature Level of the Forwarding Firewall must be 6.1 or higher.
- Enable Application Control. For more information, see How to Enable Application Control.
- Enable SSL Interception. For more information, see How to Configure SSL Interception in the Firewall.
Create an Access Rule to Enforce Safe Search
You can enforce the usage of Safe Search for all web traffic matching an access rule by enabling the Safe Search settings in the Application Control settings of the access rule.
- Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > Firewall > Forwarding Rules.
- Click Lock.
- Either click the plus icon (+) at the top right of the ruleset, or right-click the ruleset and select New > Rule.
- Select Pass as the action.
- Enter a name for the rule. For example,
- 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.
- Click on the Application Policy link and select:
Application Control – required.
- SSL Interception – Required for search provides which are available exclusively via HTTPS.
- URL Filter – optional.
Safe Search – required.
- Application Control – required.
- (optional) Set additional matching criteria:
- Click OK.
- Click Send Changes and Activate.
Every search query handled by this access rule now automatically enables the Safe Search 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 safe search cookie.