How to ristric azure app serive admin portal URL to access only from internal network

Abdulrehman Altaf 226 Reputation points
2022-08-31T14:09:45.367+00:00

Hi,
we have a website abc.com and accessable publically. How to ristric backend portal access (abc.com/wpadmin or ) URL to access only from internal network. Only the URLs with /admin/ in them need to be restricted to be accessible only from internal network.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
593 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
967 questions
Azure Firewall Manager
Azure Firewall Manager
An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
85 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Abdulrehman Altaf 226 Reputation points
    2022-09-28T07:59:42.463+00:00

    App Service: Block all the traffic to app service and allow traffic from frontdoor, This will block the direct access app service default URL / public IP

    Azure Front door: Allow admin URL traffic from specific IP address/ranges, Block traffic for URL contain admin

    245378-image.png

    2 people found this answer helpful.
    0 comments No comments

  2. Dillon Silzer 54,746 Reputation points
    2022-08-31T14:16:25.873+00:00

    Hello @Abdulrehman Altaf

    Here is a guide for setting up a private endpoint access to your Azure App Service:

    Restrict access to login for the WordPress running on Azure web app container

    https://azureossd.github.io/2018/10/12/restrict-access-to-login-for-the-wordpress-running-on-azure-web-app-container/

    ---------------------------------------------------

    If this is helpful please accept answer.

    1 person found this answer helpful.

  3. rafalzak 3,216 Reputation points
    2022-09-01T20:07:11.78+00:00

    Hi @Abdulrehman Altaf ,

    Please check URL rewrite rules. You should be able to configure it to allow access to /admin section from defined IP Addresses.

    1 person found this answer helpful.
    0 comments No comments