[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configuring Iceweasel security policies.



After reading http://kb.mozillazine.org/Security_Policies
add these four lines to dalton:/etc/iceweasel/pref/iceweasel.js .

// Allow my file URI to be opened.
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
user_pref("capability.policy.localfilelinks.sites", "http://peter@members.shaw.ca:80";);

# From: Scott Ferguson <prettyfly.productions@gmail.com>
# Date: Fri, 10 Jun 2011 17:31:08 +1000
> Soft links'll work fine.

OK, dalton:/Category2.html is now a soft link to /home/peter/Category2.html.

At dalton open
  http://members.shaw.ca/peasthope/#Links
and click on the link file:///Category2.html .

This message comes to the Iceweasel error console.
Security Error: Content at http://members.shaw.ca/peasthope/#Links may not load or link to file:///Category2.html.

Appears that the instructions for the Mozilla security policies are for the case 
where both the file URI link comes from the same machine as the browser runs on.

Any better ideas to configure for my case where the file URI link is in 
members.shaw.ca/peasthope and the browser is on dalton?

Thanks,                ... Peter E.

-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .


Reply to: