Allowing a single YouTube video through a ProxySG

Solution

Overview

How do I allow a single YouTube video through my ProxySG?
My company does not allow YouTube or streaming media.  However, there is one video we want our users to view.  How do I allow that one video through while denying all other YouTube content?

Cause
Resolution

The ProxySG can be configured to allow a single YouTube video to pass through the proxy while blocking all other YouTube content.  This policy can be created and placed into the local policy file.  For information on how to install the CPL policy into the local policy file, please see 000010101 for information on how to install policy into the local policy file.  The following example YouTube video is a Blue Coat corporate video located at http://www.youtube.com/watch?v=snkEXxCwpMA

Install the following policy into the local policy file (see 000010101 for details):

<proxy>
url.domain=//c.youtube.com/ allow
url.domain=//ytimg.com/ allow
url.substring=snkEXxCwpMA allow

When used in conjunction with an existing deny rule either in local or visual policy, the above configuration will allow access to the Blue Coat corporate video in the example above.  When working with the video you want passed through your proxy, be sure to copy the section from the URL after "/watch?v=" and paste into the above substring section.

In some cases, a YouTube video is embedded within another URL.  Assuming the other URL is allowed by policy, but the video is denied based on your YouTube or streaming video deny rule, we can edit the above local policy slightly to allow the embedded video:

<proxy>
url.domain=//c.youtube.com/ allow
url.domain=//ytimg.com/ allow
url.substring=kioiUPBgOOM allow
url.substring=crossdomain.xml allow
 

Note the additional line allowing 'crossdomain.xml'.  This is used to allow the video to play from a domain other than youtube.com

 

Workaround
Additional Information
Bug Number
InQuira Doc IdKB3710
Attachment

Article Feedback

Did this Article solve your issue?
Additional Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat