需要仅通过INTRANET访问Azure Web服务

问题描述 投票:-2回答:1

我开发了一个Azure WEB应用程序并在Azure Web服务中发布。

我需要限制通过互联网访问,只允许INTRANET。

c# azure asp.net-web-api azure-web-app-service
1个回答
1
投票

Azure Web应用程序服务可通过Internet公开访问。如果要限制通过Internet访问并仅允许Intranet访问。您可以将Azure Web应用程序服务放在Internal Azure App Service Environment中,以便此Web应用程序不可公开访问,因为它位于虚拟网络内的子网中,并且不会暴露给Internet。此外,Azure应用程序服务可以通过VPN与内部部署环境进行通信。更多参考:Networking considerations for an App Service Environment

但是,隔离ASE很昂贵。如果您希望它便宜又简单,并且Web App不需要访问本地资源。您可以在web.config中放置IP restriction或使用AD authentication。请参阅this

© www.soinside.com 2019 - 2024. All rights reserved.