If your environment does not include a web server, response headers for HTTP requests do
not include a value for X-FRAME-OPTIONS. The following steps describe how to include X-FRAME-OPTIONS
in the response headers.
Note: We recommend that you install a web server in your Cognos Analytics environment.
Procedure
- Click
,
and then select Advanced Settings.
- Type BIHeaderFilter.responseHeaders in the
Key field.
- Type [{"name":"X-FRAME-OPTIONS","value":"SAMEORIGIN"}] in the
Value field.
- Click Apply.
- Type BIResponseWrapper.staticExpiresDays in the
Key field.
- Type 7 in the Value field.
Tip: This sets the value for the HTTP response headers Expires
and max-age
when responding to GET requests for static content.
- Click Apply.
- Refresh the page.