"Storage account - Container - Directory permissions for viewing for a single folder user."

Carlos Jahir Carreño Hernandez 125 Reputation points
2024-04-15T17:36:38.7833333+00:00

Good morning community, I'm seeking assistance. I want to grant permissions in a storage account so that an external user can only view a specific folder that I have hosted in a container.

But so far, I haven't been able to achieve it, as I've tried in all ways through a "Shared access signature", but it still allows me to see all the folders and their contents.

User's image

User's image

The folder "tercera" is contained within the folder named "carpeta 2".

I generate the access for that single folder:

User's image

User's image

"When I try to paste the URL, it throws the following error:"

User's image

"Hope you can help me. The main goal is to only share that folder with an external user and prevent them from accessing or seeing the rest of what's in the container. Thank you."

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,301 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
709 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
830 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,826 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amira Bedhiafi 26,261 Reputation points
    2024-04-17T11:06:27.99+00:00

    Based on the documentation, here is an example of a service SAS URI, showing the resource URI, the delimiter character ('?'), and the SAS token.

    Diagram showing the components of a resource URI with SAS token.

    The delimiter character ('?') for the query string is not part of the SAS token. If you generate a SAS token from the portal, PowerShell, Azure CLI, or one of the Azure Storage SDKs, you may need to append the delimiter character to the resource URL.

    Don't forget to follow the best practices using the SAS : https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview#sas-token

    1 person found this answer helpful.
    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.