Limit Azure Function to be called from just one domain

Viewed 437

Is there any way to limit an Azure function to just be allowed to be called from a particular domain? It is just in order to do not have an api exposed in public, I want that api to just be consumed from my webapp, deployed in a particular domain, let's say webappexample.org

Thanks in advance.

1 Answers

Yes, you could implement with the Access Restrictions under the Networking, you could add access restriction rule to restrict IPv4 , IPv6 or Virtual Network.

Further more information you could refer to this official doc: Azure App Service Access Restrictions.

enter image description here

Related