How do I use policy to block or deny a single YouTube video?

Solutions ID:    KB5065
Version:    2.0
Status:    Published
Published date:    04/28/2013
Updated:    04/29/2013

Problem Description

I want to allow users to see all YouTube videos except for a particular one that I want to block..

I referred to the KB articles (FAQ711 & KB3710) that discuss how to allow a single video and tried changing the ALLOW to DENY but it didn't work.




This example assumes a default policy action of ALLOW and you want to DENY your users to see this video:
To block the above YouTube video, use the following local policy (or the equivalent VPM policy):

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.

Please DO NOT DENY with these two URLs:
url.domain=// DENY
url.domain=// DENY


NOTE: This CPL policy has been tested on both IE8/9 and Firefox11.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