+ Search Tips   |   Advanced Search

Control access to hosts specified in a URL

We can specify any host name in a URL used to retrieve content. We can restrict access to a specified list of host names by modifying the configuration of the WCM WCMConfigService service.

  1. Log in to the WAS console and click...

      Resources | Resource Environment | Resource Environment Providers | WCM WCMConfigService | Custom properties

    If the WCM server is part of a cluster, use the dmgr console.

  2. Block access from unknown hosts:

    • Property: connect.connector.httpconnector.denyunknownhosts

    • Value: true

  3. For each host name for which to grant access, add a new property.

    • Property: connect.connector.httpconnector.hosts.host

      Host is the fully qualified host name of the server for which to permit access. For example:

        connect.connector.httpconnector.hosts.www.example.com

    • Value: true or false

  4. Optional: Set a default cache expiration value for the host name we added by adding a new property.

    • Property: connect.connector.httpconnector.hosts.host.defaultcacheexpires

      Host is the fully qualified host name of the server for which to permit access. For example:

        connect.connector.httpconnector.hosts.www.example.com.defaultcacheexpires

    • Value: expiration_time. For example:

        REL 9000s

    • Optional: Set a default cache setting for the host name we added by adding a new property.

      • Property: connect.connector.httpconnector.hosts.host.defaultcache

        Host is the fully qualified host name of the server for which to permit access. For example:

          connect.connector.httpconnector.hosts.www.example.com.defaultcacheexpires

      • Value: true or false


Parent Additional configuration options

Related concepts:

Cache expire parameters

Related tasks:

Set service configuration properties