How to restrict the access to Web APP once after created a web app & deployed the Flask application code in it.

Vijayakumar Elumalai 105 Reputation points
2023-10-16T10:57:51.8133333+00:00

Hello Team,

I have created a web app in Azure using App services & deployed the Flask application code in it using LocalGit option. Now i wanted to restrict the application access to only fewer people so how to do it in Azure ? Web app URL should not be accessed by anyone without having a access. Please guide me on this. Thanks!!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,920 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 28,716 Reputation points Microsoft Employee
    2023-10-17T02:44:50.8466667+00:00

    There's a couple of ways you could do it @Anonymous . One way is to add authentication and authorization to your app service, add claims to valid users, and inspect those claims during login. Another way is to do it is using access restrictions to dictate which IP has access. Probably the best way to go about this method is using S2S VPN for your authenticated users and restriction access to the app service via a VNet that has that S2S VPN configured for access.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.