File system search result link does not open on Firefox or Chrome

Issue ID:  4284023


Summary: The file system connector shows URLs with "file://" protocol in search results. However, Firefox and Chrome don't open such links when clicked in result page.


Cause: Firefox and Chrome doesn't open "file://" links from pages that originated from outside the local machine.  This is a design decision made by those browsers to improve security.


Workaround: In order to enable local file access for Firefox and Chrome, please follow the steps as described below. 

Please note with security risks caused by enabling such access.

Firefox:

  1. Open Firefox.
  2. Enter about:support to the address bar.
  3. Click Open Directory for Profile Directory.
  4. Create or open user.js and add the following lines:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "file:///[[PUT SERVER NAME HERE]]";);
user_pref("capability.policy.localfilelinks.checkloaduri.enabled",  "allAccess");
  1. Restart Firefox

 

Chrome:

Install Local file links Chrome extension.

 

Was this helpful?
How can we improve it?