'How to embed data studio report in website without giving end user the url?
Is it possible to embed a data studio report into a website without giving users access to the URL? I have created a data studio report which takes a link-embedded parameter for organization ID.
Example URL: https://datastudio.google.com/embed/reporting/xxx/page/xxx?params=xxx
I will then embed that report in a website for end users to view the report associated with their organization ID. However, I don't want the user to be able to take the URL and manually edit the organizationId parameter to then be able to see other confidential reports. If it's not possible to prevent users from seeing the URL from the frontend, is there another way to prevent users from being able to access the same report with someone else's ID parameter?
Solution 1:[1]
You can use sessionid or jwt to check if user asking for the report is the one that can do this. You can guard it as any other route.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Konrad Linkowski |