As you might know YouTube offers a feature specifically designed for schools in order to only allow access to videos that were approved for the schools usage.

Find more details here: https://www.youtube.com/education.

Interestingly, McAfee Web Gateway has the ability eversince to enable your school to participate in this service! Specific instruction are provided by google on this page.

 

Here is how McAfee Web Gateway can help making your school's YouTube a better learing experience:

 

 

Environment

McAfee Web Gateway 7.x
McAfee Web Gateway 6.x

 

 

Summary

YouTube offers an educational site that allows schools to access YouTube EDU content. This allows the administrator to control which videos are viewable in their network. Each school is given a unique HTTP header and value that must be added to a user's request to access *.youtube.com.

 

 

Problem

How do I add a specific HTTP header to all requests destined for YouTube For Schools?

 

 

Solution  1

Web Gateway 7.x

 

  1. In the Web Gateway GUI, navigate to Policy, Rule Sets.
  2. Click Add and Add a Top-Level Ruleset.
       
           
    1. Apply this Rule Set only to Requests.
    2. Place criteria on this ruleset so that this Rule Set is only matched if the URL.Host matches *.youtube.com
  3. Add a Rule to Add a header.
       
           
    1. Click the Add Rule button.
    2. Give the Rule a descriptive Name.
    3. Apply this rule Always. (Use Always because you already put criteria for *.youtube.com on the rule set.)
    4. Set the Action to Continue.
    5. Add an Event. Choose Header.Add (String, String).
    6. Click the Parameter button and set the following:
      • Parameter 1: Header Name (String)
                    Value: X-YouTube-Edu-Filter
      • Parameter 2: Header Value (String)
                    Value: MD8S2VmzxPZdyL4QB-EvKP
                   
                    NOTE: Type your own unique Header ID given to you by YouTube For Schools in the Header Value field.
                   
                    
    7. Click OK to finish adding your rule.
  4. Save changes.
The X-YouTube-Edu-Filter header should now be added to each request destined for the host youtube.

 

 

Solution  2

Web Gateway 6.x

  1. In the Web Gateway GUI, navigate to Common, Generic Header Filter.
  2. Ensure the Generic Header Filter setting is enabled. (To enable, select the checkbox next to it.)
  3. Select the Policy you want to apply it to. (If you want to add this to more than one policy, select Add to all policies when adding the rule.)
  4. Add the Rule:
    • Select the box for HTTP Request.
    • Condition Header: Host
              Condition Value: *.youtube.com
    • Result Header: X-YouTube-Edu-Filter
              Result Value: MD8S2VmzxPZdyL4QB-EvKP
             
              NOTE: Type your own unique Header ID given to you by YouTube For Schools in the Result Value field.
  5. Select Add or Add to all policies.
  6. Apply Changes.
The X-YouTube-Edu-Filter header should now be added to each request destined for the host youtube.

 

This solution is available as official KB article from: https://kc.mcafee.com/corporate/index?page=content&id=KB73790

 

 

For your ceonvenience, McAfee is offering a complete rule set for this solution on the Content & Cloud Security Portal to be used with MWG 7.