Browser.safebrowsing.provider.*.gethashURL
Contents
Background
Firefox incorporates the Google Safe Browsing extension in its own Phishing Protection feature to detect and warn users of phishy web sites.
When a site is classified as safe or unsafe, a partial hash is generated of a fragment of the URL. This can be compared against the remote database to return a complete hash and extra metadata. This preference determines the URL used to submit the partial hash.
This is an enumerated preference: all preferences whose names start with browser.safebrowsing.provider. are read to generate the list of Safe Browsing providers. The * in the preference name is a non-negative integer, and matches the number in the other preferences needed to describe a provider. It also determines the order in which the providers appear in the options dialog.
Possible values and their effects
The URL from which the key for encrypting URLs is retrieved.
By default, the following preference and value exists:
- browser.safebrowsing.provider.0.gethashURL
- http://sb.google.com/safebrowsing/gethash?client={moz:client}&appver={moz:version}&pver=2.1
(The string {moz:client} is replaced by 'navclient-auto-ffox' plus the version number for official builds. The string {moz:version} is replaced by the browser’s version of Gecko.)
Caveats
- browser.safebrowsing.enabled must be true for this preference to have an effect.
First checked in
Has an effect in
- Firefox (nightly builds since 2008-01-29)
Related bugs
- Bug 329292 - add SafeBrowsing anti-phishing extension to trunk for evaluation
- Bug 402611 - deal with changes to the safebrowsing v2 protocol
- Bug 419750 - update safebrowsing server names
Related preferences
- browser.safebrowsing.dataProvider
- browser.safebrowsing.enabled
- browser.safebrowsing.provider.*
- browser.safebrowsing.remoteLookups
- browser.safebrowsing.warning.infoURL
- urlclassifier.keyupdatetime.*
- urlclassifier.tableversion.*