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.
- 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.
- Block access from unknown hosts:
- Property: connect.connector.httpconnector.denyunknownhosts
- Value: true
- 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
- 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 optionsRelated concepts:
Cache expire parametersRelated tasks:
Set service configuration properties