To block the Twitter web site, add two rules to block:
- Requests going to twitter.com
- Requests going elsewhere with a referer containing twitter.com
In the Visual Policy Manager:
- Create a new web access layer.
- Set up rule one as follows:
- Source: ANY
- Destination: twitter.com
- Actio : DENY
- Set up a second rule in the same layer as follows:
- Source: request header referrer containing twitter.com
- Destination: ANY
- Action: DENY
- Install policy.
Using Content Policy Language (CPL), add the following code to your local policy file: