How to limit a specific file share in from Azure storage account with multiple file shares from being mapped on windows

Shane 20 Reputation points
2024-03-13T21:37:15.5133333+00:00

How do I restrict a specific file share to Azure from being mapped on windows explorer. Limiting the ability to map specific file share to specific AD group.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,186 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.
2,768 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,493 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anand Prakash Yadav 6,785 Reputation points Microsoft Vendor
    2024-03-15T11:00:08.5066667+00:00

    Hello Shane,

    Thank you for posting your query here!

    To restrict a specific file share in Azure from being mapped on Windows Explorer and limit the ability to map a specific file share to a specific AD group, you can follow these steps:

    Assign share-level permissions to specific Microsoft Entra users or groups. This is the most stringent and secure configuration. You can assign them to specific Microsoft Entra users/groups, and you can assign them to all authenticated identities as a default share-level permission.

    After you assign share-level permissions, you can configure Windows access control lists (ACLs), also known as NTFS permissions, at the root, directory, or file level. While share-level permissions act as a high-level gatekeeper that determines whether a user can access the share, Windows ACLs operate at a more granular level to control what operations the user can do at the directory or file level.

    Also, if your organization uses Active Directory, you can use Group Policy to map network drives and configure restrictions. This allows you to control which AD groups can map specific file shares.

    I hope this helps! Please let me know if you have any other questions or need further clarification.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.  

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dillon Silzer 54,831 Reputation points
    2024-03-14T00:59:56.3333333+00:00

    Hi Shane,

    If you are referring to using NTFS permissions please refer to the documentation:

    Configure directory and file-level permissions over SMB

    https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-configure-permissions

    You also need to ensure you have the proper share-level permissions set up:

    Assign share-level permissions

    https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-assign-permissions?tabs=azure-portal

    If this is helpful please accept answer.

    0 comments No comments