You want to allow embedded YouTube video on an HTTPS website via explicit ProxySG that blocks video category

book

Article ID: 167666

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

  • ProxySG is blocking "Audio/Video Clips" or YouTube website.
  • You want to allow embedded YouTube video via HTTPS website.
  • Your ProxySG setup is explicit and you have enabled "Detect Protocol" with SSL Intercept

Resolution

;============Allow Embeded YouTube video==============
<Proxy>
 
    ALLOW http.method=CONNECT
    ALLOW condition=Youtube_embeded_allowed
    ALLOW url.domain=//ytimg.com/
    ALLOW url.domain=//googlevideo.com
 
define condition YouTube_Urls
    url.path.substring=origin
    url.path.substring=crossdomain
    url.path.substring=get_video_info
    url.path.substring=videoplayback
    url.path.substring=embed
    url.path.substring=/iframe_api
    url.path.substring=/yts
    url.path.substring=/api
end    
 
define condition Youtube_embeded_allowed
    condition=YouTube_Urls url.domain=//youtube.com/
end