仅为我的 Web 应用配置 Azure SQL 数据库防火墙 [英] Configure Azure SQL Database Firewall for just my Web App

查看:13
本文介绍了仅为我的 Web 应用配置 Azure SQL 数据库防火墙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们将 Azure Web AppsAzure SQL 并希望通过配置 数据库防火墙 只允许来自特定网络应用程序的连接,而不是 Azure 中的任何服务.如何将连接限制为仅限我的 Azure 服务?

We use Azure Web Apps with Azure SQL and would like to make this setup more secure by configuring the database firewall to only allow connection from the specific web apps rather than any service in Azure. How can I limit connections to just my Azure services?

推荐答案

假设你有一个ip地址(托管方案需要共享,基本的或标准的)**:

Assuming that you have an ip address (hosting plan needs to be shared, basic or standard)**:

a) 导航到 SQL 数据库 >> 服务器选项卡 >> 选择托管数据库的服务器 >> 配置选项卡

a) Navigate to SQL Databases >> Servers Tab >> Select the server hosting your database >> Configure Tab

b) 或者选择您的数据库 >> 管理允许的 IP 地址(右侧快速浏览栏)

b) Alternatively select your database >> Manage Allowed Ip Address (Right side Quick Glance bar)

  • 将您的网站 ip 添加到允许的 ip 地址列表中
  • 在允许的服务"中将 Windows Azure 服务更改为否"

**您可以点击网站仪表板底部栏上的管理域来查看您的 IP 地址.

**You can view your ip address clicking Manage Domains on the Website Dashboard bottom bar.

这篇关于仅为我的 Web 应用配置 Azure SQL 数据库防火墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆