How Can I Limit Access to My Azure Web Apps Through Application Gateway with WAF?
Asked by
CuriousCat123
I have a URL that's set up with an Azure Application Gateway equipped with WAF v2. I want to limit access so that only certain App Services, like myapp1.azurewebsites.net and myapp2.azurewebsites.net, can reach this URL. I've looked around and even checked with ChatGPT but it seems like I can't set up URLs directly in a WAF custom rule to manage this access. Does anyone have suggestions on how to allow specific URLs through WAF?
Answers
a
Reply to this answer
r
Reply to this answer
C
Reply to this answer
c
Reply to this answer
Are you trying to ensure just these two specific web services can access the Application Gateway, or do you want to limit it to just those and not allow other sites? Clarifying that will help pinpoint the best approach!
Reply to this answer
a
Reply to this answer
C
Reply to this answer
r
Reply to this answer
Y
Reply to this answer
So, you want to restrict access to just a few app services through the Azure Application Gateway? A simpler approach might be to enable VNet integration for those appsโthey'll then stay together, boosting security and cutting costs! But if you still prefer WAF rules, that's an option too.
Reply to this answer
Reply to this answer
Add your answer
Answers are reviewed before publication.
SecureSetup88: Using VNet integration sounds smart and budget-friendly. If a WAF is necessary, consider creating an internal Application Gateway for added security, but avoid complicating things too much. It can be done more efficiently by using service endpoints!