By default, the IDOL View component 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 View component configuration file in a text editor.
Find the [Viewing]
section.
Decide which strategy to use to block URLs and hosts.
To specify lists of URLs or hosts to block, and allow all others, set one or both of the following parameters.
ViewBlockedURLsCSVs
|
A comma-separated list of URLs that you want to block. You can use Wildcard values in the URLs. The IDOL View component 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 |
ViewBlockedHostCSVs
|
A comma-separated list of IP addresses or host names that you want to block. View 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 |
To specify lists of URLs or hosts to allow, and block all others, set one or both of the following parameters.
ViewAllowedURLsList
|
A comma-separated list of URLs that can be accessed to view documents. You can use wildcards. For example: ViewAllowedURLsList=example.com/doc/*,10.1.*.* This example would not allow access to a machine with an IP address |
ViewAllowedHostsList
|
A comma-separated list of hosts, specified by host name or IP address, that can be accessed to view documents. For example:
|
TIP: For more complex scenarios, you can specify lists of URLs and hosts to allow, and lists of URLs and hosts to block. If a URL matches both a blocked list and an allowed list, it is blocked.
Save and close the configuration file.
Restart the IDOL View component for your changes to take effect.