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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yiruan-msft
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
v-yiruan-msft
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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors