For Azure Static Web Apps, is it possible to configure some type of networking access restriction with a list of IPs for approval/denial? Something similar as what can be done with Function Apps, Storage Accounts, etc.?
For Azure Static Web Apps, is it possible to configure some type of networking access restriction with a list of IPs for approval/denial? Something similar as what can be done with Function Apps, Storage Accounts, etc.?
Set value for allowedIpRanges in the staticwebapp.config.json file
https://docs.microsoft.com/en-us/azure/static-web-apps/configuration#networking
@Jeff-5482 This is a good question as yes, the Web and Function App offerings include IP restrictions, although this was not always the case.
It appears after research that at this time, Azure Static Web Apps do not include IP restriction functionality built in at this time.
Before in web apps, you could add an IP security setting in your web.config file but to my knowledge, this file is not included with the static web app.
As a result, you will need to use something in front of a Static Web App, such as Azure Front Door. For more information on how to use these two products together, please refer to this page here.
Please let us know if there are any further questions or concerns.
4 people are following this question.