How can users be limited to specific videos on YouTube?
Resolution
To restrict videos, add a CPL Layer in Visual Policy Manager (VPM) as the last layer in order. Copy and paste the following Content Policy Language (CPL) code:
;***** Start YouTube Channel Allow ******
;Add this line for SSL interception only if SSL interception isn't already enabled. See TECH244731 "Configure SSL intercept for an explicit deployment using a self-signed certificate" <ssl-intercept>
;If there is any kind of SSL error please see TECH241928 "Add ProxySG certificate into a browser" to learn how to import and trust the ProxySG default certificate
<Proxy>
;allows the list of URL's
ALLOW condition=__CondList1Regex_allow
;Denies direct access to youtube.com and several other YouTube-related resources
DENY condition=YT_URLS url.regex="v="