Solutions

Cannot block or deny a single YouTube video

Solutions ID:    KB5065
Version:    3.0
Status:    Published
Published date:    04/18/2014
Updated:    04/21/2014
 

Problem Description

You want to allow users to see all YouTube videos except for a specific one, which you want to block. Following the procedures in KB articles FAQ711 and KB3710, which discuss how to allow a single video, do not work in your scenario.

As an example, you want to DENY the following video:
 
http://www.youtube.com/watch?v=kioiUPBgOOM

Resolution

This example assumes a default ALLOW policy.
 
To block the YouTube video, use the following local policy (or the equivalent VPM policy):

<proxy>
    url.substring=kioiUPBgOOM DENY

This policy uses the unique identifier string of the video that follows the v= and blocks that substring from playing, as well as the background YouTube video URLs that are retrieved for the video.

 
Do not set the following URLs to DENY:
 
url.domain=//c.youtube.com/ DENY
url.domain=//ytimg.com/ DENY

 NOTE: This CPL  has been tested on Internet Explorer 8 and 9 and Firefox 11.0, and it appears to be working as expected.

 

 


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question