Karl Winzig <
kwi...@notgmail.com> wrote on Sat, 23 Apr 2016 02:40:16
-0500
> I only ask if this is the correct setup for privacy?
Giving back to the ng, I read every article that mentioned these
settings that is possible to find on Google, so, I believe my
combined writeup below is the *best* (bar none) on the Internet
for accuracy and privacy advice (related to these 5 preferences).
Let me know if anything below is wrong, but I believe it is
the best that anyone can possibly find on the entire net.
**************************************************************************
How to properly set referrer preferenes in user.js for Firefox 43.0
**************************************************************************
==========================================================================
Purpose: Set user.js preferences to protect referrer privacy.
April 23, 2016, by Karl Winzig
Reviewed: April 23, 2016, by
http://tinyurl.com/mozilla.firefox.support
& simultaneously reviewed by
http://tinyurl.com/alt.os.linux
==========================================================================
1. "network.http.sendRefererHeader"
Determines when to send the Referer HTTP header.
0: Never send the referring URL
(reputedly breaks some sites, e.g.,
http://www.imdb.com/)
1: Send the referring URL only when links are clicked.
*2: Send the referring URL when links and images are clicked
(generally set for Firefox 28 and later where three new
options better control referrers).
----------------------------------------
Privacy recommendation: 2 (default)
----------------------------------------
Use in conjunction with those below!
(allows sites to work which won't work if referrers are blocked)
user_pref("network.http.sendRefererHeader", 2);//Send (but spoof it which requires later settings)
==========================================================================
2. "network.http.sendSecureXSiteReferrer"
Determines how to handle Referer HTTP header when navigating between
secure (HTTPS) hosts.
*true: Send referring URL normally (default for compatibility reasons,
see bug 141641)
false: Send no referring URL
(i.e., disable referer from an SSL Website)
----------------------------------------
Privacy recommendation: false
----------------------------------------
user_pref("network.http.sendSecureXSiteReferrer", false);//false=do not send the Referer header when going from one https site to another https site
==========================================================================
The next three were introduced in Firefox 28.
Firefox apparently interprets these in the 1-to-5 as shown here.
==========================================================================
3. "network.http.referer.spoofSource"
*false: Send the referrer
true: Spoof the referer by using the target URI as the referer
(instead of sending the real referrer)
----------------------------------------
Privacy recommendation: true
----------------------------------------
(allows sites to work which won't work when the referrer is blocked)
user_pref("network.http.referer.spoofSource", true);//true=spoof referer (use target URI as referer)
==========================================================================
4. "network.http.referer.XOriginPolicy"
*0: Always send the referrer
1: Only send the referrer if the referrer & destination base
domains match
2: Only send the referrer if if referrer & destination hosts match
(makes spoofSource & trimmingPolicy useless if going from
a.example.com to
b.example.com since no referrer would be
sent because the hosts "a" and "b" don't match.
----------------------------------------
Privacy recommendation: 1
----------------------------------------
user_pref("network.http.referer.XOriginPolicy", 1);//1=send if base domains match
==========================================================================
5. "network.http.referer.trimmingPolicy"
*0: Send the full URI
1: Send the scheme+host+port+path
2: Send the scheme+host+port
----------------------------------------
Privacy recommendation: 2
----------------------------------------
user_pref("network.http.referer.trimmingPolicy", 2);//2=scheme+host+port
--------------------------------------------------------------------------
Note: * === the default in FF 43
--------------------------------------------------------------------------
**************************************************************************