Azure Web App 仅通过应用程序网关并禁用直接访问

标签 azure security web-applications azure-application-gateway

如何使 Azure Web App 或 Web 服务仅通过应用程序网关并禁用直接访问。那么没有人能够通过直接的完全限定域名(例如 mysite.azurewebsite.net)访问?

感谢您提前提供的帮助。

最佳答案

您可以在 ILB Azure service environment 中设置 Azure Web 应用程序。 Azure ASE 是将 Azure 应用服务部署到 Azure 虚拟网络 (VNet) 中的子网中。此 ILB ASE(内部 ASE)不暴露于 Internet。您可以关注这个blog在支持 WAF 的应用程序网关后面运行应用服务。

This Web App isn't publicly accessible as it is sitting in a subnet inside a Virtual Network and it isn't exposed to the internet. The only way to access the site is through a Web Application Firewall enabled Application Gateway.

此外,如果您只想使用 IPSecurityRestrictions 选项限制对 Azure Web Apps 的公共(public)访问,您可以引用 this以获得更多引用。

关于Azure Web App 仅通过应用程序网关并禁用直接访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52013243/

相关文章:

javascript - 防止 body 元素滚动反弹,但在 iOS 中为子元素保留它

java - 将 JavaHelp 与 Web 应用程序结合使用

git - 如何直接从 git bash 命令行创建 azure 存储库? (无需进入浏览器)

c# - 无法将可靠的 azure publish 设置证书导入到 Windows Phone 8.1 应用程序中

security - 从 jck key 存储导出 key

tomcat - Tomcat 5.5 上的 struts2 应用程序 : Basic user/pass security?

asp.net - 是否可以为 Windows Azure 网站设置 IP 限制?

c# - CosmosDB 中的模拟 ItemResponse

Azure计时器触发器网络作业: Function is being recognised but not being triggered

java - 有没有所谓的自运行应用程序?