0
votes

Hi Have below questions.

I have a storage account and inside storage account, I have file shares. And below is my folder structure

Root\Account 1
Root\Account 1\ReadOnly
Root\Account 1\ReadAndWrite
Root\Account 2
Root\Account 2\ReadOnly
Root\Account 2\ReadAndWrite

Now my questions are can I map my End users with Root\Account 2\ReadOnly or Root\Account 2\ReadAndWrite as their network-connected shared Drive “z:\”

I was actually trying with https://husseinsalman.com/securing-access-to-azure-storage-part-5-stored-access-policy/ blog post, here What I do not understand is the how to give SAS Signature to mount as a network folder ?

1
Welcome to stackoverflow.com. For any specific problem you are having please include a stackoverflow.com/help/minimal-reproducible-example. Please also read stackoverflow.com/help/how-to-ask and stackoverflow.com/help/dont-ask. Make sure that your questions are specific and not overly broad, see also stackoverflow.com/help/on-topic. Also, be sure to take the stackoverflow.com/tour (you get a badge!) - Daniel Björk

1 Answers

0
votes

It's not possible to mount the specific directory, however you can set permission to files and directory.You can check Azure Active Directory Domain Services authentication on Azure Files assign permission for the directories

Azure Files identity-based authentication options for SMB access

Configure directory and file level permissions over SMB

If you mount the file share by using SMB, you don't have folder-level control over permissions. However, if you create a shared access signature by using the REST API or client libraries, you can specify read-only or write-only permissions on folders within the share.