O'Reilly logo

Implementing DevOps with Microsoft Azure by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Filtering traffic by IP and dynamic IP restrictions

We may want to restrict access to Azure Web Apps. We can achieve this using the <ipSecurity> element. We can define which IP addresses can access Azure, and the action to take in case of a violation of  that rule:

<configuration>  <system.webServer>    <security>      <ipSecurity allowUnlisted="true" denyAction="NotFound">        <add allowed="true" ipAddress="xxx.xxx.xxx.xxx"               subnetMask="255.xxx.xxx.xxx"/>      </ipSecurity>    </security>  </system.webServer></configuration>

Dynamic IP restrictions allow us to block access to Azure Web Apps based on different scenarios as follows:

  • To deny access by maximum ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required