How to access 'Azure File share' from browser?‎

Pradeep Mishra 0 Reputation points
2024-06-11T05:50:52.8333333+00:00

Hi Team,

Is there a way to access "Azure File Share" from browser for end users?

All the online articles are suggesting to mount the file share in server and then use it, but we want our users to access files directly in browser and no need to mount on servers.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,209 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deepanshukatara-6769 6,715 Reputation points
    2024-06-11T07:06:26.47+00:00

    Hi Pradeep ,

    A file share can be accessed via browser if the application uses REST APIs.

    There isn't a native solution that will allow users to access your Azure File Share outside of what's been mentioned below. The reason being is that File Share is an SMB protocol implementation that can't be accessed over HTTP, like you can with blobs. If you want to provide a UI access to Azure File Share, you can use these examples as guidance for implementing a custom solution.

    Here are the ways to access Azure Files.

    What are different ways to access files in Azure Files?

    You can mount the file share on your local machine by using the SMB 3.0 protocol, or you can use tools like Storage Explorer to access files in your file share. From your application, you can use storage client libraries, REST APIs, PowerShell, or Azure CLI to access your files in the Azure file share.

    More information here:

    https://video2.skills-academy.com/en-us/azure/storage/files/storage-files-faq

    Kindly accept answer if it helps, please let us know if any further questions

    Thanks

    Deepanshu

    1 person found this answer helpful.

  2. Nehruji R 4,126 Reputation points Microsoft Vendor
    2024-06-12T06:07:11.51+00:00

    Hello Pradeep Mishra,

    Greetings! Welcome to Microsoft Q&A Platform

    I understand that you would like to access the Azure file share via browser but while native browser access to Azure File Shares isn’t directly supported, there are alternative approaches you can consider:

    Azure File Shares use the SMB protocol, which cannot be accessed directly over HTTP like blobs. Therefore, a custom solution or tools like Storage Explorer are your best options for enabling browser-based access to Azure File Shares. If you choose to build a custom solution, you can create a custom web application that interacts with the Azure File Share using REST APIs. This way, end users can access files via a browser interface.

    Azure File Sync enables synchronization between an Azure file share and an on-premises file server.By setting up Azure File Sync, you can provide web access to the file share using Azure File Sync’s cloud endpoint. Users can then access files through a web interface.

    Although not a direct browser access, Azure Storage Explorer is a desktop application that allows you to manage Azure storage resources, including file shares. Users can install Storage Explorer and access the file share from their local machine.

    Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments