Unable to Open Local Files in FogBugz


Follow

Overview

 

If you are unable to share or open local network resources in FogBugz, you might encounter the following error message on your browser: 

Not allowed to load local resource: <file name>

mceclip1.png

This article provides the steps on how to bypass the security restriction prompting this error in Google Chrome.

 


Information

 

By default, modern browsers (i.e., Chrome, Firefox, Edge, etc.) restrict a server's access to local files due to security reasons. Browser-based attacks use JavaScript to map a network and attack connected servers or devices.

If you need to share your local network resources on FogBugz, you need to use the --allow-file-access-from-files option in Google Chrome:

 

Windows

  1. Ensure Chrome is currently not running.

  2. Obtain the installation path of Google Chrome on your computer.

    Example:

    C:\Users\<username>\AppData\Local\Google\Chrome\Application.chrome.exe
  3. Open a Command Prompt window and launch Chrome by typing its installation path with the additional argument: --allow-file-access-from-files.

    Example:

    C:\Users\<username>\AppData\Local\Google\Chrome\Application>chrome.exe --allow-file-access-from-files

    mceclip0.png

 

Mac/OSX

  1. Ensure Chrome is currently not running.

  2. Open Terminal.

  3. Launch Google Chrome by typing the following command:

    open /Applications/Google\ Chrome.app --args --allow-file-access-from-files

    mceclip1.png

Note: Visit this forum to know more about other workarounds to allow file access to browsers.

 

 

back to top