Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
When using Power BI Embedded (AppOwnsData), Power BI artifact is embedded into an iframe in the application. The iframe which is created to embed the report doesn't have the sandbox attribute. Risk associated with an iframe can be reduced by adding the sandbox attribute to iframes that will allow to grant only necessary privileges for the content. Why is sandbox attribute not added in the Power BI Embedded iframe? And is there any way where application teams can add the sandbox attribute to the iframe to improve the security?
Reference to sandbox attribute - https://docs.microsoft.com/en-us/previous-versions/msdn10/hh563496(v=msdn.10)
If this is important to you please consider raising it at https://ideas.powerbi.com
Hi,
I created the PR https://github.com/microsoft/PowerBI-JavaScript/pull/385 with adding the sandbox attribute into your library
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!