Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

How to Configure Web Filtering with Safe Search

 
Summary

Learn about our safe search enhancement for Unified Threat Management (UTM) Web filtering solutions to enforce the safest Web browsing mode available, by default.

Safe Search Enhancement for Web Filtering Overview

Benefits of Safe Search Enhancement for Web Filtering

  • Provides the safest Web browsing mode available, by default.

  • Protects the HTTPS-based search engine cache. This protection is a key security feature requirement for organizations with multiple Web users in educational, financial, health-care, banking, and corporate segments. In a campus or branch, enabling a default safe search solution for all users and blocking the search engine cache provides secure and comfortable Web browsing.

Features of Safe Search Enhancement for Web Filtering

You use UTM Web filtering to manage Web browsing by preventing access to inappropriate Web content. To do this, you use the following Web filtering solutions:

  • Redirect Web filtering

  • Local Web filtering

  • Enhanced Web Filtering (EWF)

We've enhanced the safe search functionality for these UTM Web filtering solutions to provide an extremely safe search environment for the Web user. Table 1 describes the features of the safe search enhancement.

Table 1: Safe Search Enhancement Features

Safe Search Feature

Description

Default safe search

By enabling the safe search enhancement feature, you enforce the safest Web browsing mode available by default on the well-known search engines. Doing so helps those users that are not using the strictest safe search settings.

If you enable the safe search feature on your security device, it enforces the search service to the strictest mode by URL query rewriting, which is transparent to you. For example, when you do a search request on the search engines Google, Bing, Yahoo, or Yandex, the safe search feature rewrites the requested URLs to the safest search URLs.

Here're a few examples of requested and converted URLs:

Blocking search engine cache

By blocking the search engine cache on the well-known search engines, you can hide your Web-browsing activities from other users if you are a part of an organization that has multiple Web users in educational, financial, health-care, banking, and corporate segments.

To block the search engine cache, you configure a general URL block pattern and category for the search engine cache service.

You can disable the safe search option at the Web filtering-level and profile-level configurations. See juniper-local, websense-redirect, and juniper-enhanced.

Limitations of Safe Search Enhancement for Web Filtering

  • For HTTP safe search enhancement, you must enable stream mode by enabling the http-reassemble option at the [edit security utm default-configuration web-filtering] hierarchy level. If you don't enable stream mode, you can't use the safe search feature. As a result, the system sends an HTTP 302 redirect message to the user.

  • For HTTPS safe search enhancement, you must enable the SSL proxy service on the security policy. If SSL proxy bypasses the HTTPS traffic, then the safe search feature also bypasses the HTTPS traffic.

Summary

Use this example to configure UTM Web filtering solutions and verify the safe search enhancement for UTM Web filtering.

Requirements

This example uses the following hardware and software components:

  • An SRX Series device

  • Junos OS Release 20.2R1

Before you begin:

Overview

In this example, you configure the following policies and Web filtering profiles on your security device:

  • UTM policies

  • Security policies

  • Web filtering profiles

  • SSL proxy

After you've configured the policies and profiles, you generate the Web filtering statistics and verify the performance of the safe search enhancement.

Figure 1 shows the basic UTM Web filtering topology. When you enable your security device with the safe search feature, the device rewrites the search requests from the user to the safest search mode of the search engines. The cloud engine or the local engine performs Web filtering on the search requests before forwarding to the Internet or external webserver.

Figure 1: Topology for Web Filtering Basic Function
Topology
for Web Filtering Basic Function

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.

To configure UTM Web filtering:

  1. Configure UTM Web filetring solution.
  2. Configure the security policies to control HTTP or HTTPS traffic from the trust zone to the Internet zone.
  3. Configure security zones.
  4. Configure interfaces.

Results

From configuration mode, confirm your configuration by entering the show security policies, show security utm, and show interfaces commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the feature on your device, enter commit from configuration mode.

Verification

Verify Safe Search Function

Purpose

Verify that the safe search feature is enabled for UTM Web filtering solutions.

Action

From operational mode, enter the show security utm web-filtering statistics command to view the Web filtering statistics. In the output, the Safe-search redirect and Safe-search rewrite fields display the enhanced safe search redirect and rewrite statistics.

user@host> show security utm web-filtering statistics

Meaning

The output displays that the safe search feature is enabled and there are no safe search redirects and safe search rewrites.

WHAT'S NEXT

Now that you’ve learned about safe search enhancement for Web filtering, you'll be interested to know how to disable the safe search function. Check out juniper-local, websense-redirect, and juniper-enhanced for more information.