Cannot embed a website in the Web Client - SmartPlant Foundation - IM Update 42 - Help - Hexagon

SmartPlant Foundation Extensibility

Language
English
Product
SmartPlant Foundation
Search by Category
Help

Problem

The website you are trying to embed in the Web Client is prevented from being embedded in an iframe.

Reason

Certain websites use specific HTTP headers, such as X-Frame-options and Content Security Policy (CSP), to prevent the website from being embedded in an iframe. These headers are important as they are used to stop the website from an outside attack called click-jacking. For example, a website that is prevented from being embedded in an iframe is www.google.com.

Solution

Some applications will not allow a report to be embedded in an iframe by default, such as Power BI. However, this application and others offer an option allowing you to generate a link, which can be used to embed the content in an iframe. If you have access to modify the HTTP headers of a website, you can embed the website in an iframe for a specific domain.

If you modify the website so it can be embedded in an iframe for multiple domains, it will not be as secure.