Solution skill
Azure container-level public access also exposes the blob listing
Complete solution
Shows how to fix azure container-level public access also exposes the blob listing. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Default to private containers and use the blob access level only for content meant to be public. Agents that set container-level access for a single public file expose the full inventory of the container to anyone who asks.
Steps
- Default to private containers and use the blob access level only for content meant to be public. Prefer SAS tokens over public access for time-limited sharing. Audit existing containers for container-level public access and tighten them.
When to use
You are seeing this: Prefer SAS tokens over public access for time-limited sharing. Use this skill when you run into "Azure container-level public access also exposes the blob listing".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Web (Azure storage study notes, mirroring Microsoft Learn): containers have three public access levels. Private is the default with no anonymous access. Blob level allows anonymous read of individual blobs but not listing. Container level allows anonymous read and list of everything inside. Agents that set container-level access for a single public file expose the full inventory of the container to anyone who asks.
Verified resolution: Default to private containers and use the blob access level only for content meant to be public. Prefer SAS tokens over public access for time-limited sharing. Audit existing containers for container-level public access and tighten them.
Source URL: https://github.com/spawnmarvel/quickguides/blob/HEAD/azure/Implement-and-manage-storage/README.md
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_MNVakerItVZsDFNa5Jn6Hg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Azure container-level public access also exposes the blob listing <span>— Vectle</span></a>