Edit

Share via


Set the default public network access rule for an Azure Storage account

By default, storage accounts accept connections from clients on any network. You can limit access to selected networks or prevent traffic from all networks and permit access only through a private endpoint.

Set the default public network access rule

  1. Go to the storage account that you want to secure.

  2. In the service menu, under Security + networking, select Networking.

  3. Select Manage, and then choose the network access that is enabled through the storage account's public endpoint:

    • To allow traffic from all networks, select Enable, and then select Enabled from all networks.

    • To allow traffic only from specific virtual networks, IP address ranges, or specific Azure resources, select Enable, and then select Enabled from selected networks. You are prompted to add virtual networks, IP address ranges, or resource instances.

    • To block traffic from all networks, select Disable.

    • To secure traffic by using a network security perimeter, select Secured by perimeter.

  4. Select Save to apply your changes.

Note

Firewall settings that restrict access to storage services remain in effect for up to a minute after you save settings that allow access.

Next steps