user.js icon indicating copy to clipboard operation
user.js copied to clipboard

Things to watch

Open Theemim opened this issue 9 years ago • 4 comments

Rewrite libpref https://bugzilla.mozilla.org/show_bug.cgi?id=1379383

Since all prefs are known in advance -- assuming that nobody uses prefs as an ad hoc data store, which we can rely on once 57 blocks XUL add-ons -- they should be stored in a fixed array.

I'm a little dubious about that -- I think datareporting, Log.jsm, urlclassifier, fonts, the IDN whitelist, and some other places use computed keys (or at least created-later keys) into prefs. It's not just add-ons. Furthermore, prefs sync relies on Firefox being able to store arbitrary preferences, because we might be handed key/value pairs that were set by a future version of Firefox. [...] That might mean we build two stores: one being prefs as it is now (with app/distro/locale overlays), and one being a key-value store that's external to Gecko to which we can shunt the other kinds of consumers.

Interesting! Thank you for the info. It sound like a key part of this will be to define exactly what a pref is.

I don't want to think about the potential downsides. As for potential upsides, maybe user.js processing will be improved so that any/all errors are reported and an error condition could prevent Firefox from starting up.

Theemim avatar Aug 20 '17 20:08 Theemim

Usage of Differential Privacy & RAPPOR https://groups.google.com/forum/#!topic/mozilla.governance/81gMQeMEL0w

One recurring ask from the Firefox product teams is the ability to collect more sensitive data, like top sites users visit and how features perform on specific sites.

One solution is the use of differential privacy [2] [3], which allows us to collect sensitive data without being able to make conclusions about individual users, thus preserving their privacy.

What we plan to do now is run an opt-out SHIELD study [6] to validate our implementation of RAPPOR. This study will collect the value for users’ home page (eTLD+1) for a randomly selected group of our release population We are hoping to launch this in mid-September.


Enable "TCP and UDP Socket API" for WebExtensions https://bugzilla.mozilla.org/show_bug.cgi?id=1247628

BTW, think this type of issue is a good idea? Bad idea? Close if it isn't something you want me to continue.

Theemim avatar Aug 23 '17 01:08 Theemim

Regarding this data collection plan by Mozilla, I would like to understand the technical details about what happens between a user loading a site in his browser and the "differential privacy" database. Let's purport that the "differential privacy" database on Mozilla's server is really unusable to whoever would want to infer any bit of browsing history for a specific user.

So to whoever knows the accurate answer to this, my question is:

What exactly happens between my computer and Mozilla's "differential privacy" database?

Let's posit I load sensitive-site.com at 00h00m00s in my Firefox browser with no VPN to mask by ISP-assigned IP address.

What exact information would leave my computer and at what time, to be sent to Mozilla's server before that information is munched into the "differential privacy" database?

Anyone knows how this will work?

gorhill avatar Aug 23 '17 03:08 gorhill

they will not care about your IP ... IP does nothing for them

What I have in mind is less about Mozilla, and more about other parties which could try to make use of the data in between one's computer and the "differential privacy" database. I want to understand what is of use to such external parties, of course especially server-side given encrypted connection.

gorhill avatar Aug 23 '17 11:08 gorhill

RAPPOR permits statistics to be collected on the population of client-side strings with strong privacy guarantees for each client, and without linkability of their reports.

See here

The first time the RapporService is started, a client will generate and save a random 128-byte secret key, which won't change and is never transmitted to the server... The cohort that the client belongs to and the results from the above process are sent to the server.

See here

  • https://github.com/Alexrs95/rappor

Atavic avatar Aug 23 '17 18:08 Atavic