Is it possible to serve a private blob using Azure CDN with a SAS query? I want to prevent hotlinking for my files but I think adding a CDN in between this will not be possible. Perhaps there is another solution, either with Azure or AWS S3?
1
votes
1 Answers
0
votes
If I understand the question correctly, yes. You can use SAS with CDN. If you generate a SAS token for a blob, you can append that to the CDN URL for the blob. For example:
Generated SAS token for blob: ?sv=2012-02-12&st=2013-04-12T23%3A37%3A08Z&se=2013-04-13T00%3A12%3A08Z&sr=b&sp=rw&sig=dF2064yHtc8RusQLvkQFPItYdeOz3zR8zHsDMBi4S30%3D
CDN URL for blob: http://az623979.vo.msecnd.net/cdn/blob.txt