简体   繁体   English

将 Power BI Desktop 连接到 Azure SQL 的最安全方式

[英]Most secure way to connect Power BI Desktop to Azure SQL

MS suggests these ways to allow Power BI Desktop to access an Azure DB MS 建议使用这些方法来允许 Power BI Desktop 访问 Azure DB

a) opening inbound connections of all Azure IP ranges to Azure SQL a) 打开所有 Azure IP 范围到 Azure SQL 的入站连接

b) opening inbound connections to certain IPs b) 打开到某些 IP 的入站连接

c) use an Enterprise Gateway, even you are in Azure and not on-premise. c) 使用企业网关,即使您在 Azure 中而不是在本地。 Concerns: is this as secure as a real VPN?问题:这是否与真正的 VPN 一样安全? Means no data can be sent to the DB Server port?意思是没有数据可以发送到DB Server端口?

d) Is there no out of the Azure-box-service in place that works like a reverse proxy or application firewall with mfa? d) 是否没有现成的 Azure-box-service 可以像带有 mfa 的反向代理或应用程序防火墙一样工作?

e) is the Azure Application Proxy a solution? e) Azure 应用程序代理是一种解决方案吗?

What is the best security praxis?什么是最好的安全实践? a) and b) worries me, because of a huge Azure unknown user group that does not need to have access. a) 和 b) 让我担心,因为不需要访问权限的庞大 Azure 未知用户组。 And because the DB would not be protected against IP spoofing.并且因为数据库不会受到 IP 欺骗的保护。

For c),d),e) I did not find a clear quote from MS about the security risk.对于 c)、d)、e),我没有找到 MS 关于安全风险的明确引用。

Thank you for clarifying and commenting my concerns.感谢您澄清和评论我的担忧。

From Power BI Desktop, option b) opening inbound connections to certain IPs , is the typical approach.从 Power BI Desktop 中,选项b) opening inbound connections to certain IPs是典型的方法。 There's typically a small, and fixed set of public IPs that your organization uses for outbound traffic, and these can be added to the Azure SQL Server's Firewall.您的组织通常会使用一组固定的小型公共 IP 来处理出站流量,这些可以添加到 Azure SQL Server 的防火墙中。

IP Spoofing is a non-issue, as Azure will never route return packets to the spoofer, even if they somehow got all the way to the SQL Server. IP 欺骗不是问题,因为 Azure 永远不会将返回数据包路由到欺骗者,即使它们以某种方式一路到达 SQL Server。

c) use an Enterprise Gateway Concerns: is this as secure as a real VPN? c) use an Enterprise Gateway问题:这与真正的 VPN 一样安全吗? Means no data can be sent to the DB Server port?意思是没有数据可以发送到DB Server端口?

Yes.是的。 The Power BI Gateway server runs on a private Azure VNet, and the SQL Server's firewall is configured to allow connections from this VNet . Power BI 网关服务器在私有 Azure VNet 上运行,并且 SQL Server 的防火墙配置为允许来自此 VNet 的连接 But Power BI Desktop can't connect directly using a Gateway.但是 Power BI Desktop 无法使用网关直接连接。 It's only a solution for connecting from Power BI Service to your data source.它只是从 Power BI 服务连接到数据源的解决方案。 So if you publish a shared Data Set, you can connect using Power BI desktop to that.因此,如果您发布共享数据集,则可以使用 Power BI 桌面连接到该数据集。 But you can't connect directly from Power BI Desktop to Azure SQL Database via the gateway.但是不能通过网关直接从 Power BI Desktop 连接到 Azure SQL 数据库。 So you still need a firewall rule for the users designing the Power BI Data Sets (models) in Power BI Desktop.因此,您仍然需要为在 Power BI Desktop 中设计 Power BI 数据集(模型)的用户制定防火墙规则。

Is there no out of the Azure-box-service in place that works like a reverse proxy or application firewall with mfa?是否没有现成的 Azure-box-service 可以像带有 mfa 的反向代理或应用程序防火墙一样工作?

No. This is not an HTTP connection, so there's no reverse proxy.不。这不是 HTTP 连接,因此没有反向代理。 Although you can configure your Azure SQL Database to allow Azure Active Directory accounts, and then use your conditional access policies to force MFA.虽然您可以配置您的 Azure SQL 数据库以允许 Azure Active Directory 帐户,然后使用您的条件访问策略来强制 MFA。 These are built-in to Azure SQL Database and Azure Active Directory, and are a layer of security after the firewall.这些内置于 Azure SQL 数据库和 Azure Active Directory,是防火墙之后的一个安全层。

2021 Edit 2021 编辑

Azure SQL Database now supports Private Link which enables Azure SQL Database to listen on an IP address on a private network in Azure. Azure SQL 数据库现在支持专用链接,它使 Azure SQL 数据库能够侦听 Azure 中专用网络上的 IP 地址。 This network can be routed to your Power BI Desktop users using Site-to-Site VPN or ExpressRoute, or developers can deploy a Point-to-Site VPN to enable a single desktop to communicate directly with the target private network.可以使用站点到站点 VPN 或 ExpressRoute 将此网络路由到您的 Power BI Desktop 用户,或者开发人员可以部署点到站点 VPN 以使单个桌面能够直接与目标专用网络进行通信。

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

相关问题 连接ASP.NET 3.5 Web应用程序和SQL Server数据库的最安全方法是什么? - What is the most secure way to connect a ASP.NET 3.5 web application and SQL Server database? 将.NET Core桌面应用程序连接到Azure SQL Server的最佳方法是什么 - What is the best way to connect a .NET Core desktop application to a Azure SQL Server 从Monodroid连接到WCF服务的最安全方法是什么? - What is the most secure way to connect to a WCF Service from monodroid? 使用Windows Azure Connect的SQL Server安全连接 - SQL Server secure connection using Windows Azure Connect 验证用户的最安全方法 - Most secure way to validate a user 散列密码的最安全方法 - Most secure way to hash passwords 安全访问SQL Azure - Secure access to SQL Azure 允许用户从SQL执行BCP导出命令的最安全方法是什么? - What is the most secure way to allow users to execute BCP export command from SQL? 使用 Connect-AzAccount 保存 ClientId 和 ClientSecret 以对 Azure 进行身份验证的安全方法 - Secure way to save ClientId and ClientSecret to authenticate to Azure using Connect-AzAccount 在Android中授权用户的最安全方式是什么? - What is the most secure way to authorize an user in Android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM