Allow Users to Access one Vimeo Video in a ProxySG or Advanced Secure Gateway Deployment
search cancel

Allow Users to Access one Vimeo Video in a ProxySG or Advanced Secure Gateway Deployment

book

Article ID: 169303

calendar_today

Updated On:

Products

Advanced Secure Gateway Software - ASG ProxySG Software - SGOS

Issue/Introduction

This article details the policy you can use to allow users in a ProxySG or Advanced Secure Gateway (ASG) environment to access one specific Vimeo video while all other Vimeo content remains blocked.

Resolution

The following CPL is used to allow a single Vimeo to be played and block the others. This CPL allows to play this video: https://vimeo.com/185979405

<proxy>
condition=vimeo_pdlvimeo allow
condition=vimeo_moogaloop allow
condition=vimeo_playerURL allow
condition=vimeo_ID_ok allow
http.method=CONNECT url.domain=//vimeo.com ALLOW
url.scheme="https" url.host.exact="vimeo.com" DENY

;begin vimeo condition definition
define condition vimeo_pdlvimeo
url.scheme="https" url.substring="pdlvimeo"
end condition vimeo_pdlvimeo

define condition vimeo_moogaloop
url.scheme="https" url.host.substring="vimeo.com" url.path.substring="moogaloop"
end condition vimeo_moogaloop

define condition vimeo_playerURL
url.domain=//vimeo.com
url.domain=//vimeocdn.com
url.domain=//gcs-vimeo.akamaized.net
end condition vimeo_playerURL

define condition vimeo_ID_ok
url.path.substring="185979405" ;video ID
end condition vimeo_ID_ok
;end vimeo condition definition 

To add more than one video, add url.path.substring= with the video's string in the vimeo_ID_ok.