How do I deny access to all hosts with IP addresses?
I want to deny access to hosts with IP address (i.e. http://10.1.2.3/test.html ) in the URL
If you want to deny requests to hosts with IP addresses, you can place the following CPL code into the local policy file. For information on how to install CPL into the local policy file, please see 165957
<Proxy>
url.host.is_numeric=yes deny
Please note the above CPL will impact sites with hostnames that load objects/images from hosts with IP addresses. The following CPL policy may be better because it allows sites with hostnames to load objects from sites with IP address:
<Proxy>
request.header.Referer.url.host.is_numeric=no url.host.is_numeric=yes allow
url.host.is_numeric=yes deny
The recommended solution is to use a content filter such as the Blue Coat Intelligence Services (BCIS) to control access to websites. For more information about BCIS, please see https://docs.broadcom.com/doc/intelligence-services-en