Links to local pages do not work: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (+directories)
(UNC paths information)
Line 2: Line 2:


If you are willing to accept the possible risk of linking to local content, you can override the security policy. Type [[about:config]] into the Location bar and hit Enter. Find the entry for '''security.checkloaduri''' and change its value to '''false''' by double-clicking it. Then, restart Firefox.
If you are willing to accept the possible risk of linking to local content, you can override the security policy. Type [[about:config]] into the Location bar and hit Enter. Find the entry for '''security.checkloaduri''' and change its value to '''false''' by double-clicking it. Then, restart Firefox.
===UNC Paths===
If you're linking to a file in a UNC path (e.g., <code>\\servername\share\file.ext</code>), you will need to specify the path thusly:
file://///servername/share/file.ext
Also note that you cannot link to <code>file://///servername</code> to get a listing of shares at that hostname [https://bugzilla.mozilla.org/show_bug.cgi?id=62851 due to a bug].


===External Links===
===External Links===
* [http://www.mozilla.org/quality/networking/docs/netprefs.html Networking Preferences]
* [http://www.mozilla.org/quality/networking/docs/netprefs.html Networking Preferences]

Revision as of 03:01, 5 May 2005

For security purposes, Firefox blocks links to local files (and directories) from remote files by default. This includes linking to files on your hard drive or mapped network drives.

If you are willing to accept the possible risk of linking to local content, you can override the security policy. Type about:config into the Location bar and hit Enter. Find the entry for security.checkloaduri and change its value to false by double-clicking it. Then, restart Firefox.

UNC Paths

If you're linking to a file in a UNC path (e.g., \\servername\share\file.ext), you will need to specify the path thusly:

file://///servername/share/file.ext

Also note that you cannot link to file://///servername to get a listing of shares at that hostname due to a bug.

External Links