I am trying to enable Azure to store most of my files for the application. I want to upload these files to a private container and a private blob in azure mode, and these downloads will be copied via the Azure CDN to all other nodes (still like private containers and blobs). Then I want my application to send a request for a saved blob and give me a link to the blob sharing signature for a certain period of time. However, I want the link to be generated for the nearest data center for the user. I will generate SAS every time I need blob, but I need to be able to use the SAS option compared to CDN. Is this possible with Azure or can I use only SAS with one data center?
Edit I would like our CDN to act as if it were a copy of our primary data center, so I donβt want the CDN objects to ever be deleted unless they are deleted from the primary data center. If I create a SAS and drop it at the end of the CDN URL, if the SAS expiration date has passed, but not the cache duration, can the user go back and access the file?
Here is my example:
Obviously, the user could access this URL before 4/1/2015, but what if they return on 4/2/2015, they will still have access?
Also, let's say I set the blob cache control header, which expires at the same time as the SAS URL, which is also after the cache duration. Then I return to the same block on 4/8/2015, we will generate a new SAS and pass it to the user, will blob still be on the CDN or will the cache control header remove it from the CDN
Schaf source share