Configure remote server access for links
Before adding links to files and documents stored in remote content management systems into web content elements, configure the server with information about the remote system and the settings used to handle communication with the system.
IBM Content Manager and SSL usage: IBM Content Manager Services for Lotus Quickr provides the capability to link to documents stored in IBM Content Manager. These links are generated according to the base service URL configured in IBM Content Manager Services for Lotus Quickr, as specified by the urlBaseService property in the cmpathservice.properties file. If you have enabled Secure Sockets Layer (SSL) encryption for the portal, verify that the base service URL reflects the https protocol and not the http protocol to ensure that links are generated correctly. Refer to the documentation for IBM Content Manager Services for Lotus Quickr for details on how to update the urlBaseService property.
To prevent linking to unsafe servers, specify a list of allowed domains that the portal can access using the portal's AJAX proxy component. We can use the global AJAX proxy configuration to customize the outgoing HTTP traffic, such as applying specific HTTP timeout values or configuring an outbound HTTP proxy server. To do this, map the URL patterns for the ECM server to the federated_documents_policy dynamic policy using the WP ConfigService configuration service.
- Log in to the WebSphere Integrated Solutions Console.
- Click Resources > Resource Environment > Resource Environment Providers.
- Click WP ConfigService.
- Under Additional Properties, click Custom Properties.
- Click New, and enter the property name wp.proxy.config.urlreplacement.federated_documents_policy.suffix, and set the string value to the URL pattern of the ECM server. For example, to enable the server to access information from the ECM server ecm.example.com on port 10038 over HTTP:
wp.proxy.config.urlreplacement.federated_documents_policy.1=http://ecm.example.com:10038/*The value of the property key suffix can be any value as long as it is unique within the set of keys mapping to the federated_documents_policy.
- Create additional properties as needed for any other ECM servers that you need to access through the server.
- Save the changes, and restart the portal server.
If a user tries to access a server (for example, www.example.com) that has not been added to the list of allowed domains, the following message is displayed:
Access to remote server www.example.com has not been granted. Please contact the system administrator.
Parent: Configure a web content authoring environmentRelated:
Set service configuration properties
Insert a link to remote content
IBM DB2 Content Manager publication library
Related reference: