When we create or edit a stored container in Windows Azure, we need to choose the type of access, and this article will describe the differences between the three options.
1. Private:
The default option, as the name implies, is that the user cannot access the container or any blobs within the container anonymously through the URL, and access must provide the storage account name and access key.
2. Public blob
When this option is selected, all files within the container can be accessed anonymously through a URL, but the container metadata attribute or the in-container list cannot be accessed.
Example: Use this URL to download the file anonymously: https://imcfile.blob.core.windows.net/mycontainername/bootstrap.min.js
Note: You need to replace the mycontainername in the example with the container name.
This option is recommended if the storage account and container are used for Windows Azure CDN Service endpoints or file downloads.
3. Public containers
This option not only allows anonymous access to the container files through the URL, but also provides anonymous access to the container metadata information and the in-container list via the rest API.
Example: Access container metadata properties through the rest API https://imcfile.blob.core.windows.net/mycontainername? restype=container&comp =list
Note: You need to replace the mycontainername in the example with the container name.
Windows Azure Storage Container private, public container, public blob difference