Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Blob Storage Pre-Signed Url Features

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?

like image 931
Code Man Avatar asked Mar 19 '19 03:03

Code Man


People also ask

How do pre signed URLs work?

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.

What is the URL to my Azure blob storage?

By default, the URL for accessing the Blob service in a storage account is https://<your account name>. blob.core.windows.net.

What is Presigned URL in Azure?

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().

Which Azure blob storage feature enables?

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.


1 Answers

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.

like image 130
Gaurav Mantri Avatar answered Sep 18 '22 14:09

Gaurav Mantri