How to restrict Folder and File level access in Datalake Gen2?

THIMMAIAH GARI,PRASHANTH,, 201 Reputation points
2020-08-18T06:24:18.14+00:00

Hi,

I want to restrict Folder and file level access in Datalake Gen2. Please help me with step by step process to implement this.

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,553 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,462 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,185 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,596 Reputation points
    2020-08-18T06:37:46.8+00:00

    Hello @THIMMAIAH GARI,PRASHANTH,, ,

    Welcome to the Microsoft Q&A platform.

    Azure Data Lake Storage Gen2 implements an access control model that supports both Azure role-based access control (Azure RBAC) and POSIX-like access control lists (ACLs). This article summarizes the basics of the access control model for Data Lake Storage Gen2.

    ACLs are applied on the file and folder level. The key thing to remember is that you are always going to need RBAC Control Plane permissions in combination with ACLs. Best practice is to assign your security principals RBAC Reader role on the Storage Account/Container level and continue with more restrictive ACLs on the file and folder level.

    There are two types of ACLs:

    • Access ACLs: They control access to an object. An object can be a file or a folder.
    • Default ACLs: These are ACLs assigned on the folder level only which get inherited as Access ACLs by the child file or folder.

    Hope this helps. Do let us know if you any further queries.

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

    Do click on "Accept Answer" and Upvote on the post that helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

  2. Vaibhav Chaudhari 38,901 Reputation points
    2020-08-18T06:32:20.053+00:00

    You can use Azure storage explorer tool and grant access on folder/files as required. Below document has step by step instructions - Manage permissions - data-lake-storage-explorer

    =========================================================

    Please don't forget to "Accept Answer" and upvote if the response helped -- Vaibhav

    0 comments No comments

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.