Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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!
Solved! Go to Solution.
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
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
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