Blocking Twitter.com
search cancel

Blocking Twitter.com

book

Article ID: 166306

calendar_today

Updated On:

Products

Advanced Secure Gateway Software - ASG ProxySG Software - SGOS

Issue/Introduction

To block the Twitter web site, add two rules to block:

  • Requests going to twitter.com
  • Requests going elsewhere with a referrer containing twitter.com

 

Resolution

In the Visual Policy Manager:

  1. Create a new Web Access Layer.
  2. Set up rule one as follows:
    • Source: Any
    • Destination: twitter.com
    • Action: Deny
  3. Set up a second rule in the same layer as follows:
    • Source: Request Header Referrer containing twitter.com
    • Destination: Any
    • Action: Deny
  4. Install policy.


Using Content Policy Language (CPL), add the following code to the local policy file:

   url.domain="twitter.com" Deny

   request.header.Referrer="twitter.com" Deny