Is it possible to generate SAS (Shared Access Signature) with write permission for given folder inside a container of ADLS

Maitra-v, Anirban 141 Reputation points
2022-07-12T18:44:47.897+00:00

Is it possible to generate SAS (Shared Access Signature) with write permission for given folder inside a container of ADLS

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,559 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2022-07-13T12:06:47.417+00:00

    Hello @Maitra-v, Anirban ,

    Thanks for the question and using MS Q&A platform.

    Flat-namespace blob containers don't have real folders, and don't support file or folder-level security. If you create a storage account with a Hierarchical namespace you gain the ability to grant file and folder-level ACLs for Azure Active Directory principals.

    Note: Shared Key and SAS authorization grants access to a user (or application) without requiring them to have an identity in Azure Active Directory (Azure AD). With these two forms of authentication, Azure RBAC and ACLs have no effect.

    Azure RBAC and ACL both require the user (or application) to have an identity in Azure AD. Azure RBAC lets you grant "coarse-grain" access to storage account data, such as read or write access to all of the data in a storage account, while ACLs let you grant "fine-grained" access, such as write access to a specific directory or file.

    220414-image.png

    This article - Access control model in Azure Data Lake Storage Gen2 focuses on Azure RBAC and ACLs, and how the system evaluates them together to make authorization decisions for storage account resources.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.