Firefox security question

R Kimber richardkimber at btinternet.com
Sat Oct 22 14:37:30 UTC 2011


I understand that if you are attempting to open a local file from a remote
site then it won't work - it would be a significant security breach if links
on remote sites could open or execute files on a local machine.

However, I want to be able to open my own local files that are on my own
machine from web pages that are local to, and created on, my machine - which
seems to me not to be a security problem. Indeed, this used to work before
I upgraded to 11.10.

How may I configure Firefox so that it displays these local pages using
links of the form:
<a href="file:///home/web/filename.htm">local file</a>

I tried the two options I could find using Google, namely creating user.js
and putting:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites",
"http://local website here");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled",
"allAccess");

and also editing the appropriate security setting in about:config, but
neither will work.

Any ideas about how I can do this?

- Richard.
-- 
Richard Kimber
Political Science Resources
http://www.PoliticsResources.net/




More information about the ubuntu-users mailing list