My project requirement is to use Azure File Share. The overall current architecture is:
The problem:
Potential solution (1) - Middleware service:
When user wants to get access to their folder in File Share, they first hit service to get their access key/token. When user wants to read/upload files, users include access key/token.
Potential solution (2) - Blob Storage to Azure File Share synchronization
Question
Which one of these approaches seem to be on the correct side? Is there a better way of doing this?
Second would be the easist if you are planning to implement. Bacause for every customer can have their seperate container. That also give advantge to each customer to do not conflict of files name between them and if one conatainer goes interrupt so it won't face challange for other users , On Container level also you can define scope for that users as well.
Introduce a service that sits between Web App and File Share to manage user permissions and file access.
Involving agent/service between two service that will lead into the slow processing.