Search the JIRA 5.0.x Beta and RCs Documentation:

Index
Downloads (PDF, HTML & XML formats)
Other versions

This documentation relates to JIRA 5.0.x Beta and RCs only.
The latest official version is JIRA 4.4.x
If you are using JIRA 4.4.x either view this page in the JIRA 4.4.x documentation or visit the JIRA 4.4.x documentation home page.
Skip to end of metadata
Go to start of metadata

There is a new KB article related to this topic which contains updated information. Please review that if you have questions about linking to file:// URLs from within JIRA:

KB Article: Can't Link to Local Files from within JIRA

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.

Labels:
  1. Jan 12, 2006

    Thanks!

  2. Apr 27, 2006

    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

      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

        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

          Thanks for the update Steffen!

        2. Oct 07, 2010

          Anonymous

          I've noticed that Opera currently (10.62) allows file:// links if you right click and select "Open in background tab".
          Ctrl+Click and regular click to follow the link does not work.

          That background-tab is allowed is probably a bug though.

          1. May 09, 2011

            Anonymous

            Anybody know how to enable this using Chrome?

            1. Aug 19, 2011

              If you add the following command switch to the shortcut for starting Chrome, I believe this is what you need:

              -allow-file-access-from-files