How to enforce YouTube restricted mode

How to enforce YouTube restricted mode

Overview

YouTube has countless hours of entertainment, videos, and TV shows to keep you and your network users entertained. Apart from all these some content is inappropriate (like pornography and potentially offensive content) for some users. Most of the families and companies will not prefer to have access to such content by their kids and employees on their network. Censorship of YouTube videos is very much needed in these days. Some of the countries have blocked the access to YouTube website.
  YouTube offers a basic parental control feature, also known as Restricted mode. This feature effectively avoids most inappropriate and offensive video content on the YouTube service by filtering it out. When you implement Restricted mode on YouTube, you can enforce content restriction features only for individual browsers or users. In large organizations, it is not possible to enable restrict mode manually for each and every user, there is a possibility that the user himself may disable the restricted mode. 
SafeSquid provides a solution for these problems. SafeSquid provides an option to enable restrict mode on your gateway level directly, and enforces the restricted mode on YouTube so that users will not be able to disable it. As YouTube supports HTTPS protocol, you just need to enable HTTPS inspection on SafeSquid. You can also define restrictions for a particular user or for every user based on your network architecture.
For every request coming to SafeSquid for YouTube search a YouTube-Restrict: Strict header will be added after which server will give the filtered response.

Prerequisites

HTTPS inspection, must be enabled on SafeSquid configuration. Check the document to configure HTTPS inspection - How to configure HTTPS inspection 

Define entry for YouTube Restricted Mode

Here we have explained with a default configuration rule. If any of the default entries is not found then you need to create new entry.

Access the SafeSquid Interface

Go to configure page

Select configure page to  enforce YouTube restricted mode
SafeSquid SWG has many default rules in the configuration. End users just need to enable or disable those rules and create new rules if required.
Default rule to enforce YouTube restricted mode

Enable YouTube Restricted Mode entry in Policies and profiles

Enable the default YouTube restricted mode rule from policies and profiles section.
Edit default rule to enforce YouTube restricted mode
This entry is applicable for all users, if you want to give exception to any users then add that user group with negation 
example! ADMINS 
Enable default rule to enforce YouTube restricted mode
Save the policy after confirming the required entry is similar as shown below.
Save policy to enforce YouTube restricted mode

Adding Strict header to client headers

Go to Restriction Policies 

Select restriction Policies section to add  Strict header to client headers

Go to Privacy control Section

Select Privacy control section

Go to Header filter Section

Open Header filter section from Privacy control menu. 
Open Header filter section from Privacy control menu.

Turn on Global part of Header filter section

Enable the global field of Header filter section. 
To edit the global field of Header filter section
 
Enable the global field of Header filter section
 
Save global field of Header filter section

Go to Insert subsection 

Access Insert subsection

Enable restricted mode entry to add strict header  

Edit policy to enable restricted mode entry to add strict header
Enable policy to enable restricted mode entry to add strict header
Save policy to enable restricted mode entry to add strict header

Testing

Try to search some porn keywords and you will see the message as shown below.
Trouble shoot:

Save Configuration 

Click on bottom left Icon to save the configuration
Save configuration and YouTube restricted mode is enable    
When you click on Save config, it will give a prompt for asking the confirmation to store your configuration into the cloud. 
Select Yes only in below cases:
If you want to use this same configuration in other SafeSquid instances.
If your total configuration in all sections is completed and validated. 
Otherwise select No and click on submit.


    • Related Articles

    • Facebook Read Only Mode

      Overview Facebook is a social networking website that allows users to interact with other users in a multimedia environment on the Web. Facebook users can install and use applications to enhance their experience. Many organizations want to allow ...
    • How to enforce SafeSearch

      Overview As name indicates SafeSearch is a feature that acts as an automated filter of pornography and potentially offensive content. In SafeSquid SWG SafeSearch aims to: Provide parents and teachers with tools to help them choose what content their ...
    • Enforce Yahoo Safe Search On SafeSquid Proxy

      Overview Enforce SafeSearch on Yahoo search results. SafeSquid forcefully enforce the Safe Search on yahoo Search engine. It will not allow you to disable the SafeSearch. When you’re using Yahoo Search at work or at home, SafeSearch can help you ...
    • Enforce Google Safe Search On SafeSquid Proxy

      Overview Enforce Safe Search on Google search results. SafeSquid forcefully enforce the Safe Search on Google Search engine. It will not allow you to disable the SafeSearch. When you’re using Google Search at work or at home, SafeSearch can help you ...
    • Enforce Bing Safe Search On SafeSquid Proxy

      Overview Enforce Safe Search on Google search results. SafeSquid forcefully enforce the Safe Search on Google Search engine. It will not allow you to disable the SafeSearch. When you’re using Bing Search at work or at home, SafeSearch can help you ...