How can I allow a single YouTube video using policy?
search cancel

How can I allow a single YouTube video using policy?

book

Article ID: 165804

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

 

Assuming a default policy action of "deny" and you want to allow your users to see this video:
 
http://www.youtube.com/watch?v=kioiUPBgOOM
 
The following local policy would be needed or the equivalent VPM policy:

 

<proxy>
url.domain=//c.youtube.com/ allow
url.domain=//ytimg.com/ allow
url.substring=kioiUPBgOOM allow
 
You are taking the unique identifier string of the video that follows the v= and allowing that substring and the background YouTube video URLs that are retrieved for the video to play.