Windows Azure Storage Container private, public container, public blob difference

Source: Internet
Author: User
Tags azure cdn

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.