Ability of Uploading and Reading Private Photos of User With Azure Blob Storage

Oriiiii Arazi 1 Reputation point
2022-04-28T20:13:23.423+00:00

Hey there.
So we are delivering a solution to our customer, there is a private form that each user should fill, and one of the fields is a document the user should upload as an image.

What we did so far, we have a storageaccount and app registration with permissions to write and read to the storage account.
So the user performs a POST request to our API,
the api then uploads the stream to a specific container using blobService.
But the problem now is that we have to make sure the file can be accessed only by the form reviewers and the user itself, so how can we accomplish this requirement, which, every user has its own private files which only the reviewers( a group) and him can access it afterwards., it all has to be dynamically in runtime code, the dynamic accesss grant of each photo is user who made the POST request.
Thank you!

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,714 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,436 questions
{count} votes