As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access.
I cannot find any details about that on Azure official website.
So, does anyone know if Azure Blob Storage can support pre-signed url features?
A presigned URL is generated by an AWS user who has access to the object. The generated URL is then given to the unauthorized user. The presigned URL can be entered in a browser or used by a program or HTML webpage. The credentials used by the presigned URL are those of the AWS user who generated the URL.
By default, the URL for accessing the Blob service in a storage account is https://<your account name>. blob.core.windows.net.
The azure presigned URL can be generated. It's like Generate the blob url and generate SAS token. Append the bloburl with sas token and that's the presigned URL. I was using azure c++ sdk. To get blob url: GetUrl() To get Sas token = GenerateSasToken().
Azure Blobs Allows unstructured data to be stored and accessed at a massive scale in block blobs. Also supports Azure Data Lake Storage Gen2 for enterprise big data analytics solutions.
does anyone know if Azure Blob Storage can support pre-signed url features?
Yes, Azure Blob Storage supports that. It is called Shared Access Signature (SAS)
in Azure Storage. A SAS enables you to provide time-bound, permission-limited access to storage resources. You can create a SAS on either a blob container/blob (Container Level SAS
) or all blob containers/blobs in an account (Account Level SAS
).
You can read more about it here: https://docs.microsoft.com/en-us/rest/api/storageservices/delegating-access-with-a-shared-access-signature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With