Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #13: Expand Security and Privacy Considerations #33

Merged
merged 4 commits into from
Aug 17, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"web use" - Is there such term?
"work habits" - was in previous bullet.
"Information leaks about .... users’ surrounding" - was in previous bullet.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let @lknik comment on this text (a copy-paste from #13 (comment) with some very minor copyediting).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello indeed those were too elaborate. Feel free to simplify, i.e.

"work habits" -> "use patterns"

Profiing - you are right, unnecessary repeat.

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
Copy link

@alexshalamov alexshalamov Aug 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be "and or"? At the moment, it sounds that UA should use both simultaneously.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 6cb119e

- <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