Open topic with navigation

# Configure View to Block Particular URLs or Hosts

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.

To configure View to block a URL or host

1. Open the IDOL Server configuration file in a text editor.

2. Find the `[Viewing]` section.

3. 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.

4. 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.

5. Save and close the configuration file. Restart IDOL Server for your changes to take effect.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm