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.
Step 2
Click on + Add rule and fill the required fields. Then Click on Add rule button to add the rule.
Step 3
Now you can see your new rule in the Access Restrictions rules list.
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.
Step 2
Click on + Add hybrid connection.
Step 3
Then click on Create new hybrid connection, fill the required fields, and click on OK button to save.
Step 4
Your new hybrid connection will be added to the list of hybrid connections.
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.