By default, the View service attempts to access and process any URL or Web address that you send in the Reference
action parameter for the View
action. You can configure View to block certain URLs, host names or IP addresses. In this case, View does not process viewing requests for those URLs.
Open the IDOL Server configuration file in a text editor.
Find the [Viewing]
section.
Set ViewBlockedURLsCSVs
to a comma-separated list of URLs that you want to block. You can use Wildcard values in the URLs. The View service matches the URL string, and does not retrieve files for any matching URLs. For example:
ViewBlockedURLsCSVs=*restart*,*example.com,15.*.*.*
This example blocks any URL that contains the string restart
, and also blocks any Web address that ends with example.com
, or an IP address that starts with 15
. It does not block the IP address that example.com
maps to, or the name of a host that uses an IP address that starts with 15.
Set ViewBlockedHostCSVs
to a comma-separated list of IP addresses or host names that you want to block. The View service performs a host name lookup and blocks both the IP address and the host name. For example:
ViewBlockedHostCSVs=12.34.56.78,www.example.com
In this example, View blocks the IP address 12.34.56.78
and any host name that points to it. It also blocks www.example.com
and the corresponding IP address.
Save and close the configuration file. Restart IDOL Server for your changes to take effect.
|