How To Configure Network Security For Azure App Service Plan

Introduction

Nothing is more crucial than security. Azure App Service gives us the ability to protect web-based applications or APIs, also known as web apps. Best practices for protecting web apps hosted on Azure have been compiled by this article and this offers security guidance for private networks that the web application uses.

I will be walking you through,

  • Use Static IP Restriction
  • Use Hybrid Connections to Access On-Premises Devices

Use Static IP Restriction

You can specify a list of specific IP addresses or a range of IP addresses that can access the Azure App Service.

Step 1

Open your web app, go to Networking and Access restriction.

How To Configure Network Security For Azure App Service Plan

Step 2

Click on + Add rule and fill the required fields. Then Click on Add rule button to add the rule.

How To Configure Network Security For Azure App Service Plan

Step 3

Now you can see your new rule in the Access Restrictions rules list.

How To Configure Network Security For Azure App Service Plan

Use Hybrid Connections to Access On-Premise Devices

Hybrid connections are one of the safest and quickest ways to connect your Azure web app service through the VPN or ExpressRoute if the on-premise device wants to access.

Step 1

Open your web app and go to Hybrid connections under Networking.

How To Configure Network Security For Azure App Service Plan

Step 2

Click on + Add hybrid connection.

How To Configure Network Security For Azure App Service Plan

Step 3

Then click on Create new hybrid connection, fill the required fields, and click on OK button to save.

How To Configure Network Security For Azure App Service Plan

Step 4

Your new hybrid connection will be added to the list of hybrid connections.

How To Configure Network Security For Azure App Service Plan

Summary

In this article, we learned how to configure network security for Azure App Service Plan. Please use the comments box if you have any question.