Open topic with navigation

# Configure View to Block Particular URLs or Hosts

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.

To configure View to block a URL or host

1. Open the IDOL View component 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 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 `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. 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 `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.

6. Restart the IDOL View component for your changes to take effect.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm