问题描述
我有1个存储帐户是azure。在Blob容器中,我有3个容器。是否可以限制对每个容器的访问?只有特定的个人/团体可以访问每个?
I have 1 storage account is azure. In the Blob Containers, I have 3 containers. Would it be possible to restrict access to each container? Like only particular individual/group can can access each?
提前致谢。
Errol
推荐答案
在
Azure门户,请按照下列步骤操作:
To set container permissions in theAzure portal, follow these steps:
- 打开
存储帐户 门户网站中的刀片。您可以在主门户网站菜单刀片中选择
存储帐户 来查找您的存储帐户。 - 在
BLOB SERVICE ,选择
Blob 。 - 右 - 单击容器行或选择省略号以打开容器的
上下文菜单 。 - 选择
访问政策 。 - 从下拉菜单中选择
访问类型。
- Open your Storage account blade in the portal. You can find your storage account by selectingStorage accounts in the main portal menu blade.
- Under BLOB SERVICE on the menu blade, selectBlobs.
- Right-click on the container row or select the ellipsis to open the container'sContext menu.
- Select Access policy in the context menu.
- Select an Access type from the drop-down menu.
操作设置指定容器的权限。权限指示是否可以公开访问容器中的blob。
Authorizing access to Azure StorageThe Set Container ACL operation sets the permissions for the specified container. The permissions indicate whether blobs in a container may be accessed publicly.
您还可以定义用于容器和队列的自定义角色。有关更多信息,请参阅
为Azure基于角色的访问控制创建自定义角色。
了解有关
有关其他信息,请参阅
SO 链接
You can also define custom roles for use with containers and queues. For more information, seeCreate custom roles for Azure Role-Based Access Control.
Learn more on Manage access rights to Azure Blob and Queue data with RBAC (Preview)
For additional information, refer to the SO link
这篇关于每个容器的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!