Azure features and IP restriction

I would really like to use Azure Functions for the upcoming project, but is there a way to create a whitelist of IP addresses, for example, in ipSecurity in Web.Config?

They use the authLevel function, so there is some protection there. My client has a security requirement for whitelisting.

Looking at the resource explorer, there seems to be an ipSecurityRestrictions property that might work, but I don't see it on an instance of the Azure function.

+2
source share
1 answer

Unfortunately, since you do not have control over web.config, this is not feasible.

You can perform an ip check inside the function itself or add a solution, such as API control, to block traffic.

If you want to work on a dedicated (rather than a consumption plan), you can expand the runtime functions as a site extension with a modified web.config with the ip whitelist you need: https://github.com/Azure/azure-webjobs-sdk -script / wiki / Deploying-the-Functions-runtime-as-a-private-site-extension

+2
source

Source: https://habr.com/ru/post/1012603/


All Articles