Skip to content

Commit

Permalink
Fix #13: Expand Security and Privacy Considerations
Browse files Browse the repository at this point in the history
  • Loading branch information
anssiko committed Aug 16, 2017
1 parent eacd638 commit 5bd7291
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 4 deletions.
33 changes: 31 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ urlPrefix: https://w3c.github.io/sensors; spec: GENERIC-SENSOR
text: reporting mode; url: reporting-modes
text: auto
text: construct a sensor object; url: construct-sensor-object
text: limit maximum sampling frequency; url: limit-max-frequency
text: reduce accuracy; url: reduce-accuracy
text: mitigation strategies; url: mitigation-strategies
</pre>

Introduction {#intro}
Expand Down Expand Up @@ -71,8 +74,32 @@ Examples {#examples}
Security and Privacy Considerations {#security-and-privacy}
===================================

There are no specific security and privacy considerations
beyond those described in the Generic Sensor API [[!GENERIC-SENSOR]].
Ambient Light Sensor provides information about lighting conditions near
the device environment. Potential privacy risks include:

- Information leaks about the user’s surrounding and work habits.
- Profiling. Readout from Ambient Light Sensor can potentially induce
information leaks about the user’s interests, web use and work
habits, as well as the users’ surrounding. This information might be used
to enhance the user profiling and behavioral analysis.
- Cross-device linking and tracking. Access to sufficiently precise readouts
of Ambient Light Sensor potentially enhance cross-device linking
techniques. Such situation may arise if two different devices access web
sites including same third-party scripts that compare lighting levels over
time.
- Cross-device communication. Verbose readout of Ambient Light Sensor could
be applied to receive messages emitted by other devices in nearby
location. A simple messaging method could arise by multiple devices
flashing their screens or camera LEDs and reading out responses with
Ambient Light Sensors.

To mitigate these Ambient Light Sensor specific threats, user agents should
use the following mitigation strategies:
- <a>limit maximum sampling frequency</a>, and
- <a>reduce accuracy</a> of sensor readings.

The generic <a>mitigation strategies</a> are described in the Generic Sensor
API [[!GENERIC-SENSOR]].

Model {#model}
=====
Expand Down Expand Up @@ -141,6 +168,8 @@ Paul Bakaus for the LightLevelSensor idea.

Mikhail Pozdnyakov and Alexander Shalamov for the use cases and requirements.

Lukasz Olejnik for the privacy risk assessment.

Conformance {#conformance}
===========

Expand Down
39 changes: 37 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1549,8 +1549,39 @@ <h2 class="heading settled" data-level="2" id="examples"><span class="secno">2.
</pre>
</div>
<h2 class="heading settled" data-level="3" id="security-and-privacy"><span class="secno">3. </span><span class="content">Security and Privacy Considerations</span><a class="self-link" href="#security-and-privacy"></a></h2>
<p>There are no specific security and privacy considerations
beyond those described in the Generic Sensor API <a data-link-type="biblio" href="#biblio-generic-sensor">[GENERIC-SENSOR]</a>.</p>
<p>Ambient Light Sensor provides information about lighting conditions near
the device environment. Potential privacy risks include:</p>
<ul>
<li data-md="">
<p>Information leaks about the user’s surrounding and work habits.</p>
<li data-md="">
<p>Profiling. Readout from Ambient Light Sensor can potentially induce
information leaks about the user’s interests, web use and work
habits, as well as the users’ surrounding. This information might be used
to enhance the user profiling and behavioral analysis.</p>
<li data-md="">
<p>Cross-device linking and tracking. Access to sufficiently precise readouts
of Ambient Light Sensor potentially enhance cross-device linking
techniques. Such situation may arise if two different devices access web
sites including same third-party scripts that compare lighting levels over
time.</p>
<li data-md="">
<p>Cross-device communication. Verbose readout of Ambient Light Sensor could
be applied to receive messages emitted by other devices in nearby
location. A simple messaging method could arise by multiple devices
flashing their screens or camera LEDs and reading out responses with
Ambient Light Sensors.</p>
</ul>
<p>To mitigate these Ambient Light Sensor specific threats, user agents should
use the following mitigation strategies:</p>
<ul>
<li data-md="">
<p><a data-link-type="dfn" href="https://w3c.github.io/sensors#limit-max-frequency" id="ref-for-limit-max-frequency">limit maximum sampling frequency</a>, and</p>
<li data-md="">
<p><a data-link-type="dfn" href="https://w3c.github.io/sensors#reduce-accuracy" id="ref-for-reduce-accuracy">reduce accuracy</a> of sensor readings.</p>
</ul>
<p>The generic <a data-link-type="dfn" href="https://w3c.github.io/sensors#mitigation-strategies" id="ref-for-mitigation-strategies">mitigation strategies</a> are described in the Generic Sensor
API <a data-link-type="biblio" href="#biblio-generic-sensor">[GENERIC-SENSOR]</a>.</p>
<h2 class="heading settled" data-level="4" id="model"><span class="secno">4. </span><span class="content">Model</span><a class="self-link" href="#model"></a></h2>
<p>The Ambient Light Sensor’s associated <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/sensors/#sensor" id="ref-for-sensor">Sensor</a></code> subclass
is the <code class="idl"><a data-link-type="idl" href="#ambientlightsensor" id="ref-for-ambientlightsensor">AmbientLightSensor</a></code> class.</p>
Expand Down Expand Up @@ -1595,6 +1626,7 @@ <h2 class="heading settled" data-level="7" id="acknowledgements"><span class="se
Marcos Caceres for the test suite.</p>
<p>Paul Bakaus for the LightLevelSensor idea.</p>
<p>Mikhail Pozdnyakov and Alexander Shalamov for the use cases and requirements.</p>
<p>Lukasz Olejnik for the privacy risk assessment.</p>
<h2 class="heading settled" data-level="8" id="conformance"><span class="secno">8. </span><span class="content">Conformance</span><a class="self-link" href="#conformance"></a></h2>
<p>Conformance requirements are expressed with a combination of
descriptive assertions and RFC 2119 terminology. The key words "MUST",
Expand Down Expand Up @@ -1638,6 +1670,9 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><a href="https://w3c.github.io/sensors#default-sensor">default sensor</a>
<li><a href="https://w3c.github.io/sensors#high-level">high-level</a>
<li><a href="https://w3c.github.io/sensors#implementation-specific">implementation specific</a>
<li><a href="https://w3c.github.io/sensors#limit-max-frequency">limit maximum sampling frequency</a>
<li><a href="https://w3c.github.io/sensors#mitigation-strategies">mitigation strategies</a>
<li><a href="https://w3c.github.io/sensors#reduce-accuracy">reduce accuracy</a>
<li><a href="https://w3c.github.io/sensors#reporting-modes">reporting mode</a>
</ul>
<li>
Expand Down

0 comments on commit 5bd7291

Please sign in to comment.