Forum Discussion
dapster105
8 years agoAdvocate III
Prevent users switching to Edit mode in embedded report
Hi, I'm trying to get my head around security issues when embedding reports. I have sucessfully registered a native app in Azure AD and restricted Power BI permissions to View ones only. So I...
- 8 years ago
Hi dapster105,
However, it seems with only basic knowledge any user viewing the report through my app can alter the embedded report.configuration.permissions to All and then call report.switchMode('edit') to switch to the editing view of the report.
I agree that there'll be some potential risks in this scenario. I would suggest you create a new issue here to see if the professional engineers have an alternative solution, and make a plan to enhance the sdk on this feature. :smileyhappy:
Regards
v-ljerr-msft
8 years agoMicrosoft Employee
Hi dapster105,
However, it seems with only basic knowledge any user viewing the report through my app can alter the embedded report.configuration.permissions to All and then call report.switchMode('edit') to switch to the editing view of the report.
I agree that there'll be some potential risks in this scenario. I would suggest you create a new issue here to see if the professional engineers have an alternative solution, and make a plan to enhance the sdk on this feature. :smileyhappy:
Regards