Other Articles

Storage Account – Disable Blob Public Access

This check ensures that public access to Azure Blob containers is disabled. Disabling blob public access prevents unauthorized users from accessing sensitive data over the internet.

Check Details

  • Resource: Storage Account
  • Check: Disable Blob Public Access
  • Risk: If blob public access is enabled, containers and blobs may be exposed to the public internet, leading to data leaks or compliance violations.

Remediation via Azure Portal

  1. Log in to the Azure Portal. Azure Portal Home
  2. Navigate to Storage Accounts and select the target storage account. Azure Storage Accounts list
  3. From the left menu, go to Configuration under Settings. Storage account configuration
  4. Locate Allow Blob anonymous access and set it to Disabled. Storage Blob Access
  5. Click Save to apply the changes.
  6. Additionally, go to Containers under Data storage.
  7. For each container, select Change access level and ensure it is set to Private (no anonymous access).

Remediation via Azure CLI

  1. Open Azure Cloud Shell. Azure Cloud Shell
  2. Run the following command to disable blob public access:
    az storage account update \
     --name <storage-account-name> \
     --resource-group <resource-group-name> \
     --allow-blob-public-access false
        

This command ensures that blob containers in the storage account cannot be accessed anonymously over the internet.