如何在Azure存储帐户中设置Blob连续数的最大限制 [英] How to set maximum limit of blob continers in azure storage account
问题描述
我希望能够为实现要求提供技术帮助,并在此处给出用例,
I am expecting technical help to implement the requirement and given use case here,
asp.net应用程序具有创建存储帐户和Azure帐户中的blob容器的选项.如果用户单击该选项,则该应用程序将创建azure存储帐户和blob容器.在该存储帐户中.终于啦 返回存储帐户名称和密钥(主/次)给用户.通过使用存储帐户名称和密钥,用户可以在容器中读取,写入和删除操作.
An asp.net app has a option to create storage account and a blob container in Azure account. If user will click the option, The app will create an azure storage account and a blob container in that storage account. Finally it return storage account name and keys(Primary/Secondary) to user. By using the storage account name and keys, user can do read, write and delete actions in the container.
现在,也允许用户创建新的Blob容器,但我需要限制用户的权限必须在容器内,而不能超过此范围.因此,请让我知道如何实现此目标.
Now user is allowed to create new blob container(s) also but I need to restrict that User's permission has to be within the container only not beyond that. So please let me know how to achieve this.
此致
Shanmugam M
Shanmugam M
推荐答案
利用角色库访问控制(RBAC)来做到这一点.
leverage Role-Bases Access Controls (RBAC) to do this.
this discusses using Role-Based Access Controls scoped to the Container
https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-rbac
https://docs.microsoft.com/en-us/azure/storage/common/storage-security-guide
see also:
https://docs.microsoft.com/en-us/azure/storage/common/storage-security-guide
这篇关于如何在Azure存储帐户中设置Blob连续数的最大限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!