简体   繁体   English

如何在用户不需要 Google 帐户的情况下安全地嵌入私人 Google Data Studio 报告

[英]How to securely embed a private Google Data studio report without a user needing a Google account

Is there any way to embed a private report (ie Link-Sharing set to OFF) in a site where the user does not have to be signed in to a Google account which has view permissions on the report?有什么方法可以在用户不必登录到具有报告查看权限的 Google 帐户的站点中嵌入私人报告(即链接共享设置为 OFF)? I understand from this piece of documentation that a private report can be viewed in an iframe only if the viewer is currently signed into a Google account which the report has been shared with.我从这篇文档中了解到,只有当查看者当前登录到与报告共享的 Google 帐户时,才能在 iframe 中查看私人报告。

This is not a feasible option in this case, and it comes down to two factors:在这种情况下,这不是一个可行的选择,归结为两个因素:

  1. The client requires complete security of their reports.客户要求他们的报告完全安全。

  2. The client, due to security reasons within their company, cannot create or use a Google account.由于公司内部的安全原因,客户无法创建或使用 Google 帐户。

This means the only solution is for a 'service' type Google account to be created which authenticates with Google from within the application side of things, without relying on user input.这意味着唯一的解决方案是创建一个“服务”类型的 Google 帐户,该帐户从事物的应用程序端向 Google 进行身份验证,而不依赖于用户输入。

I guess that the document that loads within the iframe looks for a Google authentication cookie in the browser session of the user in order to authenticate access, so this seems like something that cannot be injected by the server or automated on the client (correct me if I'm wrong).我猜想在 iframe 中加载的文档会在用户的浏览器 session 中查找 Google 身份验证 cookie,以便对访问进行身份验证,所以这似乎无法由服务器注入或在客户端自动执行(请纠正我,如果我错了)。 Plus any kind of attempt to script a login through the iframe will result in some cross domain issues.此外,任何通过 iframe 编写登录脚本的尝试都会导致一些跨域问题。

So, if there is some sort of official authentication technique which can achieve what I'm looking for, and have managed to overlook, it would be great if somebody could point that out, If not, if anyone has any ideas on a less neat and tidy way of doing this, I'd be equally as grateful!所以,如果有某种官方认证技术可以实现我正在寻找的东西,并且设法忽略了,如果有人能指出这一点,那就太好了,如果没有,如果有人对不那么整洁有任何想法和整洁的方式来做到这一点,我同样感激不尽!

Thanks谢谢

(coming late to the party, I'm aware, but stumbled upon this myself just now and believe I found an answer:) (晚会迟到了,我知道,但我自己偶然发现了这个,相信我找到了答案:)

When embedding a report, you are able to send a token via their community connectors to give specific viewing rights depending on who that is on the platform.嵌入报告时,您可以通过他们的社区连接器发送令牌,以根据平台上的用户授予特定的查看权限。 I guess this wasn't available at the time posting this question, but sounds like a viable option now - read more: https://developers.google.com/datastudio/solution/viewers-cred-with-3p-credentials我想这在发布这个问题时不可用,但现在听起来像是一个可行的选择 - 阅读更多: https://developers.google.com/datastudio/solution/viewers-cred-with-3p-credentials

You can not share an active/live dashboard but you can deliver a password protected version of you report via PDF. 您不能共享活动/活动仪表板,但是可以通过PDF交付受密码保护的报告版本。 To the farthest left of the "Edit" button you´ll see the "Download Report" feature. 在“编辑”按钮的最左侧,您将看到“下载报告”功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将应用程序认证/授权到Google帐户,而无需用户交互。 即应用程序的Google帐户 - Authenticate/Authorize application to google account without user interaction. i.e. application's google account 使用Google登录Api时如何在数据库中安全地插入用户信息和用户信息 - How to securely insert and user user info in databases when using Google sign-in Api 如何安全地存储Google Authenticator密钥? - How to securely store Google Authenticator secret key? 如何验证用户ios使用google plus帐户登录? 服务器端 - How to verify user ios sing in with google plus account ? server side 如何使用Google Gmail帐户(如stackoverflow)对用户进行身份验证 - How to authenticate a user with Google gmail account like stackoverflow 将私人数据导入Google Spreadsheet - Import private data into Google Spreadsheet 没有用户的Google身份验证 - Google authentication without user 识别经过身份验证的Google用户的“工作帐户” - Identifying an Authenticated Google User's “Work Account” 将用户登录到特定的Google帐户进行演示 - Log user into particular Google account for demo 是否可以授予JavaScript应用对Google表格文件的读写权限,而无需该应用用户登录/拥有Google帐户? - Is it possible to grant a JavaScript app, r/w permission to a Google Sheets file, without the need for the app user to log in/have a Google account?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM