问题
I have my files stored in Azure File System and here are the requirements -
- User should be able to view the documents without downloading it to the local
- This is working fine for pdf but not any other mime types
- I tried setting
Content-Type
,Content-Disposition
(in azure file properties but no luck) and also iframe.
- User should be able to edit the doc online without downloading.
- I don't think this is possible just with Azure and have to integrate with One Drive may be? Correct me if I am wrong?
I would really appreciate any inputs/thoughts.
回答1:
Not sure if this is a viable option but using Storage Accounts in Azure, you can map these accounts as a network drives to any client machine. So they would be able to access these files via File Explorer.
This link covers the basic steps in setting it up.
Unfortunately for anyone who wishes to use this feature, they need to be on Windows 8 (or above) to be able to map a network drive successfully as it uses SMB3.
If this option is a no go I will delete the post.
来源:https://stackoverflow.com/questions/44331656/azure-storage-files-force-download-to-browser