Michal Dobrodenka
Michal Dobrodenka

Reputation: 1144

How to restrict access to ASP NET MVC Controller (On Azure App service) to allow only requests within Azure?

I have an Azure App service build on ASP NET Core 3.1, which communication with outside world using websockets.

It has some control interface but it is to be used only within Azure datacenter. Can I restrict specific routes/controllers to be used only within Azure? (for security purpose)

Upvotes: 0

Views: 104

Answers (1)

Thiago Custodio
Thiago Custodio

Reputation: 18387

unless you know the ipaddresses or the range, I would say there's no way for that. You would need to use App Service Environment and use an internal lb, this way, only internal traffic would be allowed

Upvotes: 1

Related Questions