Forum Discussion
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!
- Anonymous5 years ago
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
2 Replies
- AnonymousNot applicable
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
- yjlee1212Frequent Visitor
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