How to access YouTube from schools using the school's unique Youtube ID
search cancel

How to access YouTube from schools using the school's unique Youtube ID

book

Article ID: 166273

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

Youtube provides a facility to allow schools to access their site and for each school to be recognised by Youtube using a unique ID. To work, this ID needs to be added to each URL requested from Youtube.

Resolution

The following solution is based on http://support.google.com/youtube/bin/answer.py?hl=en&answer=1686318.

 

  1. Create a new rule in a Web Access Layer.

     
  2. For the destination object, create a Request URL for ‘youtube.com’.

     
  3. For the action object, create a Control Request Header Object for ‘X-YouTube-Edu-Filter’.


    You will need to set the value to the unique ID for your school’s account (see http://www.youtube.com/education_signup).
     
  4. As pointed out in the above Youtube web article, ensure that the youtube.com and ytimg.com top-level domains are not blocked elsewhere in policy.
     
  5. Save and test.

 

If you prefer to add this as CPL directly into your Local Policy, you can use the following code:

 

<Proxy>
    url.domain=//youtube.com/ action.X-YouTube-Edu-Filter(yes)

define action X-YouTube-Edu-Filter
    set( request.x_header.X-YouTube-Edu-Filter, "ABCD1234567890abcdef" )
end