Azure DB MySQL和Web App-安全

问题描述:

你好

我想将数据库的使用限制为通过App Service公开的Web应用程序.有可能吗?

I would like to restrict usage of the database to my web app exposed with App Service. Is it possible ?

我尝试使用vnet失败,...您能帮我吗?

I tried to use a vnet for that without success... Can you help me ?

致谢

你好< g class =" gr_ gr_5 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace"data-gr-id ="5". id ="5"> RyBK

您应该能够使用VNET配置App Service,并在子网上为"Microsoft.Sql"打开VNET服务终结点.并创建VNET规则以将MySQL的Azure数据库保护到该子网.您是否看过本文档以进行集成 具有VNET的Web应用程序:https://docs.microsoft.com/zh-cn/azure/app-service/web-sites-integrate-with-vnet,该应用程序适用于MySQL VNET的Azure数据库:https ://docs.microsoft.com/zh-CN/azure/mysql/concepts-data-access-and-security-vnet?

You should be able to configure the App Service with VNET, turn VNET service endpoints on a subnet for "Microsoft.Sql" and create a VNET rule to secure your Azure Database for MySQL to that subnet. Have you taken a look at this document for integrating a Web App with VNET: https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet and this one for Azure Database for MySQL VNET: https://docs.microsoft.com/en-us/azure/mysql/concepts-data-access-and-security-vnet?

我最好的

标记