amq / firefox-debloat

Stop Firefox leaking data about you
MIT License
876 stars 50 forks source link

Canvas Fingerprinting #11

Open freddyb opened 9 years ago

freddyb commented 9 years ago

(This repo seems to have some sort of privacy tendency, so I'll rant a bit about Canvas Fingerprinting. If this is not a welcome forum, feel free to close this issue)

Canvas fingerprinting is a tricky problem. Websites can use the Canvas API to draw pixels and use system fonts as well as hardware specific rendering behavior to track a user and assign them a specific fingerprint, which has enough entropy to recognize them in the future (see wikipedia)

I don't think you want to disable canvas, completely though. It's heavily used in many useful apps. The Tor Browser (Firefox + patches from the Tor project) tackles this by disabling reading from the canvas, which you can allow for each individual call (you get a "doorhanger UI", which is what most people know from Geolocation).

jomo commented 9 years ago

See also: evercookie and Tracking using ETags.

LazerPanther commented 9 years ago

CanvasBlocker via GitHub CanvasBlocker via addons.mozzilla

This add-on allows users to prevent websites from using the Javascript API to fingerprint them. Users can choose to block the API entirely on some or all websites (which may break some websites) or just block or fake its fingerprinting-friendly readout API.

It has the following modes:

valpackett commented 9 years ago

Privacy Badger 1.0 disables third party domains that do this

Atavic commented 7 years ago

Another option is Canvas Defender. The differences from CanvasBlocker are discussed here: CanvasBlocker vs Canvas Defender.

Also, PDF files may trigger canvas fingerprinting.