How to Fix SharePoint Online Cannot Open file:// Network Links
Question details
Users are unable to open local or network file paths formatted as file:// links within SharePoint Online lists or pages.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Clicking a file:// link in a SharePoint Online list or page that points to a local or network drive.
- Observed behavior
- The web browser blocks the file:// link, resulting in no action or an error indicating that the protocol is unsupported for security reasons.
Ensure you have the appropriate permissions to upload files to SharePoint or administrative access to manage site content links.
Migrate Network Files to SharePoint Online
The most secure and reliable method is to host the target files directly in SharePoint or OneDrive, generating a supported HTTPS link.
Modern web browsers and SharePoint Online restrict the file:// protocol for security reasons to prevent unauthorized access to local systems. Converting these to web-accessible links (HTTPS) resolves the issue entirely and improves remote accessibility.
Navigate to the desired SharePoint Document Library where you want the file to be stored.
Click the 'Upload' button and select 'Files' or 'Folder' to upload the local or network file to SharePoint.
Once uploaded, hover over the file, click the 'Share' icon, and select 'Copy link' to generate a secure HTTPS URL.
Return to your SharePoint list or page and replace the old file:// link with the newly generated HTTPS link.

Display the Network Path as Plain Text
If files must remain on a local network share due to compliance or size constraints, provide the path as text rather than a clickable link.
Enhance Your Document Workflow with WPS Office
While dealing with SharePoint link restrictions can be frustrating, managing and editing your documents shouldn't be. WPS Office offers a lightweight, highly compatible alternative to Microsoft Office, allowing you to create, edit, and share documents effortlessly across platforms.
- 1. Download WPS Office: Visit the official WPS Office website and click 'Download WPS Office Free'.
- 2. Install the Software: Run the downloaded installation file and follow the on-screen instructions to set up the software.
- 3. Start Collaborating: Open WPS Office, sign in to activate your free cloud storage, and easily manage your documents without network link restrictions.

Frequently Asked Questions
Why do modern web browsers block file:// links?
Browsers block file:// protocols by default for security reasons. Allowing websites (like SharePoint Online) to directly interact with your local file system could expose your computer to malicious scripts and unauthorized access.
Can I use a browser extension to open file:// links in SharePoint?
Yes, there are third-party browser extensions designed to re-enable local link support. However, these bypass built-in security protocols and are frequently disabled or blocked by corporate IT policies.
Does SharePoint Server (On-Premises) support file:// links?
SharePoint Server on-premises may allow file:// links depending on intranet zone settings and older browser configurations (like Internet Explorer). However, as organizations migrate to modern browsers, HTTPS becomes the required standard across all environments.
How do I link to a file on a shared network drive without uploading it?
You can provide the UNC path (e.g., \\network-drive\folder\file.pdf) as plain text in your SharePoint list. Users will need to manually copy and paste this path into their File Explorer, as clicking it directly will not work in modern browsers.




