[英]Azure storage account authentication
I am trying to develop a "upload file" solution on Azure where I restrict access to certain containers, or even blobs, inside a single storage account.我正在尝试在 Azure 上开发一个“上传文件”解决方案,在该解决方案中我限制对单个存储帐户内某些容器甚至 blob 的访问。
The typical scenario is that customer 1 uploads data to container 1, and customer 2 uploads data to container 2.典型场景是客户 1 向容器 1 上传数据,客户 2 向容器 2 上传数据。
Is there a build in way to restrict access by credentials of some sort to access specific containers?是否有一种方法来限制通过某种凭据访问特定容器的访问?
Yes it is done through Shared Access Signature (SAS) for containers:是的,它是通过容器的共享访问签名 (SAS) 完成的:
https://docs.microsoft.com/en-us/azure/storage/blobs/sas-service-create?tabs=dotnet https://docs.microsoft.com/en-us/azure/storage/blobs/sas-service-create?tabs=dotnet
https://docs.microsoft.com/en-us/azure/storage/common/storage-stored-access-policy-define-dotnet?tabs=dotnet https://docs.microsoft.com/en-us/azure/storage/common/storage-stored-access-policy-define-dotnet?tabs=dotnet
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.