Kira
Kira

Reputation: 1207

Changing blob containers access policy on azure

I recently changed azure access policy of the blob containers I'm using in an application, from Public to Private in order to secure them. I noticed that some blobs are still accessible without providing a SAS query however they belong to a private container. (https://mydomain.blob.core.windows.net/container/folder/file.extension) And some other ones are only accessible with generated SAS queries. Am I missing a step?

Upvotes: 0

Views: 401

Answers (1)

Gaurav Mantri
Gaurav Mantri

Reputation: 136126

Please check if the browser has cached the blob. Normally if the browser has cached a URL, then the request is not sent to the server and is served directly from the browser itself. To check if the browser has cached the blob, please try to access the blob and observe the network traffic. You should see 304 status code for that request.

Upvotes: 1

Related Questions