Is there a way to allow embedded youtube video when www.youtube.com has been denied in the policy?
search cancel

Is there a way to allow embedded youtube video when www.youtube.com has been denied in the policy?

book

Article ID: 166646

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

Is there a way to allow embedded youtube video when www.youtube.com has been denied in the policy?

Resolution

In this example, the customer is blocking www.youtube.com in the policy, but wants to allow embedded youtube videos in a website:

  1. Launch the Visual Policy Manager.
  2. In the Web Access Layer, add a new rule above the rule that denies www.youtube.com.
  3. Create a Combined Destination Object in the Destination column.
  4. Create a Request URL object with the Regular Expression Match option selected. Enter the URL in the RegEx field:
    youtube.com/s?el=embedded
  5. Repeat step 4 for each of the following URLs:
    youtube.com/videoplayback
    youtube.com/crossdomain.xml
    youtube.com/get_video_info
    youtube.com/embed
    ytimg.com
  6. In the Action column, choose Allow.