cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yjlee1212
Frequent Visitor

Can I hide /getembedinfo page from the users?

Hello! I recently used PowerBI Embedded - "embed for your customers" solution. I saw that in the URL; if I enter https://<url of application>/getembedinfo, it shows the token information and other information regarding the report. 

 

I want to change this line of code from the sample files to hide the information from the users. May I ask if there is any security risk if the users access this information? Also, it would be great if I can get some guidance on how I can hide it from the users while it can stay functional. 

 

Thank you! 

1 ACCEPTED SOLUTION
yingyinr
Community Support
Community Support

Hi @yjlee1212 ,

I don't quite understand your needs. Do you want to hide the following line of code and then make sure that its function does not disappear? Can I know why you want to hide this line of code? Is it due to security factors?

@app.route('/getembedinfo', methods=['GET'])

Embed Power BI content using a sample embed for your customers application

Frequently asked questions about Power BI Embedded

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
yingyinr
Community Support
Community Support

Hi @yjlee1212 ,

I don't quite understand your needs. Do you want to hide the following line of code and then make sure that its function does not disappear? Can I know why you want to hide this line of code? Is it due to security factors?

@app.route('/getembedinfo', methods=['GET'])

Embed Power BI content using a sample embed for your customers application

Frequently asked questions about Power BI Embedded

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hello Rena,

 

Thank you for looking into my question! Yes, it is due to the security factor. I want to understand if it contains any sensitive information in `/getembedinfo` and, if so, hide the information that reveals when they go to `/getembedinfo` if possible.

 

Best,

Yong-Jin

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Kudoed Authors