From ca28123a69c331cf45df486ead92e979c734f3b6 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Wed, 18 Dec 2024 12:54:11 +0000 Subject: [PATCH 1/5] Proposed security/privacy addition for precision Closes https://github.com/w3c/pointerevents/issues/517 --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index e78b6f3..45a0d17 100644 --- a/index.html +++ b/index.html @@ -1496,6 +1496,12 @@

Security and privacy considerations

Pointer events contain additional information (where supported by the user's device), such as the angle or tilt at which a pen input is held, the geometry of the contact surface, and the pressure exerted on the stylus or touch screen. Information about angle, tilt, geometry and pressure are directly related to sensors on the user's device, meaning that this specification allows an origin access to these sensors.

This sensor data, as well as the ability to determine the type of input mechanism (mouse, touch, pen) used, may be used to infer characteristics of a user, or of the user's device and environment. These inferred characteristics and any device/environment information may themselves be sensitive — for instance, they may allow a malicious site to further infer if a user is using assistive technologies. This information can also be potentially used for the purposes of building a user profile and/or attempting to "fingerprint" and track a particular user.

As mitigation, user agents may consider including the ability for users to disable access to particular sensor data (such as angle, tilt, pressure), and/or to make it available only after an explicit opt-in from the user.

+

Factory calibration information for sensors may be used to fingerprint individual devices, based on specific fluctuations and characteristics of sensor data. While this specification defines many of the sensor-related event attributes with float and double precision, we recommend that implementations limit the sensor data they expose to a practically useful precision:

+

This specification defines the method by which authors can access "predicted events". The specification does not, itself, define the algorithms that user agents should use for their prediction. The specification authors envisage the algorithms to only rely on preceding pointer events related to the current gesture that a user is performing. It is the responsibility of user agents to ensure that their specific implementation of a prediction algorithm does not rely on any additional data - such as the user's full interaction history across different sites - that could reveal sensitive information about a user or be used to "fingerprint" and track them.

Beyond these considerations, the working group believes that this specification: