Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
ayar
New Member

Power BI Secure access to iframe

I have reports on Power BI that I want to share on my website as IFrame. I'm concerned that users might inspect the webpage, obtain the iframe code, and embed it on their own websites. My question is: how can I control which domain names are allowed to render the report?

1 ACCEPTED SOLUTION

Resist the urge for a "quick"  iframe approach and implement this properly.

 

Power BI embedded analytics overview - Power BI | Microsoft Learn

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

You posted this in the Report Server forum.  Report Server is predominantly on-premise only.

 

Please clarify your environment.

Thanks for the note. I'm interested in Power BI Service.

Resist the urge for a "quick"  iframe approach and implement this properly.

 

Power BI embedded analytics overview - Power BI | Microsoft Learn

Thanks for your reply. Sorry if I didn't fully understand your answer, but I read the article you provided along with related articles, and I still couldn't find an answer to my question. I know how to embed a report as an iframe on my website, but my concern is that users can render that iframe outside my website. I'm looking for a way to prevent that.

To prevent that you need to implement the authentication according to the documentation referenced above.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.