SFTP enable Storage Account firewall

Melan Peiris 0 Reputation points
2024-12-04T22:10:26.3366667+00:00

Hi,

I have configured an Azure Storage Account with public access enabled, restricted to selected virtual networks and IP addresses. Additionally, I have enabled SFTP on this storage account. However, I noticed that SFTP traffic is not blocked, even though the firewall restrictions are in place.

Could someone confirm if SFTP access bypasses the firewall whitelisting configuration? Specifically, does enabling SFTP allow traffic to the endpoint regardless of the firewall settings?

Looking forward to your clarification.

Cheers

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,301 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,006 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amrinder Singh 5,555 Reputation points Microsoft Employee
    2024-12-05T08:37:59.9833333+00:00

    Hi Melan Peiris - Thanks for reaching out over Q&A Forum.

    Ideally that shouldn't be the case. When using SFTP, you may want to limit public access through configuration of a firewall, virtual network, or private endpoint. These settings are enforced at the application layer, which means they aren't specific to SFTP and will impact connectivity to all Azure Storage Endpoints. So, even the SFTP calls should also tend to get blocked.

    I'll test this once however it would request you to test it again just in case there is some regression in applying the changes and also enable the logging to see what is the IP being passed for calls.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.