I'd like to allow Hulu.com for browsing while blocking videos

book

Article ID: 166581

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

 I want to allow users to browse video contents on www.hulu.com website, but not allow users to play videos.

Resolution

In order to block Hulu video content playback, while you allow users to browse the Hulu.com website, URLs referred by www.hulu.com/watch and www.hulu.com/site-player/ need be denied.
Add the following CPL code in your Local Policy file or in a CPL Layer.

define condition HuluVideoPlayer
     request.header.Referer=//www.hulu.com/watch/
     request.header.Referer=//www.hulu.com/site-player/
end 

<Proxy>
condition=HuluVideoPlayer DENY