Linking to local file under Firefox

All Versions

JIRA 4.0 Beta Documentation

Wiki markup allows you to links to files on the network / server with the format:

[file:///c:/temp/foo.txt]

This works fine under Internet Explorer, but Firefox and Mozilla block links to local files for security purposes. If you are happy with the risk of linking to local content, you can override the security policy and also enable linking in Firefox

The instructions for this can be found at http://kb.mozillazine.org/Links_to_local_pages_don't_work and you may also want to check out the other network preferences.

Please note that you need to use full URL syntax for your link (from http://kb.mozillazine.org)

You also need to use proper URI syntax for local file references. It is not proper to enter an operating-system-specific path, such as c:\subdir\file.ext without converting it to a URI, which in this case would be file:///c:/subdir/file.ext. In general, a file path is converted to a URI by adding the scheme identifier file:, then three forward slashes (representing an empty authority or host segment), then the path with all backslashes converted to forward slashes.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 12, 2006

    Bob Swift says:

    Thanks!

    Thanks!

  2. Apr 27, 2006

    steffenj says:

    Opera also does not allow links to local files. How can i make the same changes ...

    Opera also does not allow links to local files. How can i make the same changes for Opera? (Version 8.5x or above)

    1. Apr 27, 2006

      Nick Menere says:

      Steffen, Been trying to figure this one out. I was looking at the advanced opt...

      Steffen,

      Been trying to figure this one out. I was looking at the advanced options but couldn't find anything.

      You may want to ask on the Opera userlist.

      Cheers,
      Nick

      1. Apr 28, 2006

        steffenj says:

        I found a statement from one of the Opera Team members, saying they don't allow ...

        I found a statement from one of the Opera Team members, saying they don't allow local file links at all for security reasons. Not even on a "by (trusted) site" basis. The explanations all mention to properly set up your intranet webservers so networked files can be accessed via http protocol.

        So the overall and probably best solution is just to not rely on the file "protocol" ever. That's what the Opera community is praying as mantra.

        I guess i'll have to go talk to the system admin and find out how to make the necessary changes to the webserver...

        1. May 01, 2006

          Nick Menere says:

          Thanks for the update Steffen!

          Thanks for the update Steffen!

Add Comment


Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License.