SQL Azure 报告能否离散/不透明地支持多租户模型?

发布于 2025-01-04 15:54:03 字数 199 浏览 7 评论 0原文

我们在一个 SQL Azure 实例中存储多个租户。我一直在做一些研究,但无法确定 SQL Azure Reporting 是否可以离散支持多租户模型。

例如,我们希望根据用户的“租户”运行报告,但我们希望租户 ID 对他们来说完全不透明——不包含在查询字符串或用户可查看的任何内容中。

以前有人遇到过这个问题吗?你的解决方案是什么?

We are storing multiple tenants in one instance of SQL Azure. I have been doing some research, but I cannot determine if SQL Azure Reporting can support a multi-tenant model discretely.

For example, we want to run reports for a user based on their "tenancy", but we want their tenant ID to be completely opaque to them- not contained in a query string, or anything view-able by the user.

Has anyone encountered this problem before? What was your solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

牵你的手,一向走下去 2025-01-11 15:54:03

如果您有用户只能属于单个租户的限制,您可以从用户跳到相应的租户,而无需他们知道其租户 ID。因此,任何与租户相关的查询都可以由登录用户自动过滤。

If you had the restriction that a User can only belong to a single tenant, you can hop from a User to the corresponding tenant without them having to know their tenant Id. So any of your Tenant related queries could automatically be filtered by the logged-in user.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文