You need to give anonymous users read access to all of …

Your company is launching a public website that allows users to stream videos.
You upload multiple video files to an Azure storage container.
You need to give anonymous users read access to all of the video files in the storage container.
What should you do?

Your company is launching a public website that allows users to stream videos.
You upload multiple video files to an Azure storage container.
You need to give anonymous users read access to all of the video files in the storage container.
What should you do?

A.
Edit each blob’s metadata and set the access policy to Public Blob.

B.
Edit the container metadata and set the access policy to Public Container.

C.
Move the files into a container sub-directory and set the directory access level to Public Blob.

D.
Edit the container metadata and set the access policy to Public Blob.

Explanation:
By default, the container is private and can be accessed only by the account owner. To allow public read
access to the blobs in the container, but not the container properties and metadata, use the “Public Blob”
option. To allow full public read access for the container and blobs, use the “Public Container” option.
http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/



Leave a Reply 6

Your email address will not be published. Required fields are marked *


ekramy

ekramy

Answer is B ( public container ) as the question asked to give access to all videos in the container not specific blobs

Repto

Repto

The requirement is not browse the container (B); it is read access of the blobs from a website. C is correct as the user will be able to access all blobs from the website.

Repto

Repto

Typo, meant D is correct as the user will be able to access all blobs from the websit

jim

jim

Maybe this is why I am getting confused, the document says

Account > Container > blob

Where blob is the actual file ( if I read this right)

If you use the portal it looks like this

Account > Blob Service > Container > File/blob
Based on that, my assumption was that containers reside in blobs..

The actual file is the “blob”

jim

jim

I am not a coder so how do you list the contents of the container with the web browser.

I can get directly to any file/blob in the container by making either the container/blob public access, as long as I know the url BUT I can not list the content.