Skip to content

Commit f5f913d

Browse files
committed
deploy: 222226d
1 parent 29d204b commit f5f913d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
<title>Web Platform Design Principles</title>
66
<meta content="ED" name="w3c-status">
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
8-
<meta content="Bikeshed version d5d58a306, updated Fri Jan 26 16:12:28 2024 -0800" name="generator">
8+
<meta content="Bikeshed version d765c696b, updated Fri Mar 8 15:58:52 2024 -0800" name="generator">
99
<link href="https://www.w3.org/TR/design-principles/" rel="canonical">
10-
<meta content="0543b7035bf5262ab1e23236fb4153b7677c58d3" name="revision">
10+
<meta content="222226d1981faaab99ccfe4d2a61548a8e6be80a" name="revision">
11+
<meta content="dark light" name="color-scheme">
12+
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
1113
<style>
1214
table.data {
1315
text-align: left;
@@ -699,7 +701,7 @@
699701
<div class="head">
700702
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
701703
<h1 class="p-name no-ref" id="title">Web Platform Design Principles</h1>
702-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-03-06">6 March 2024</time></p>
704+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-03-11">11 March 2024</time></p>
703705
<details open>
704706
<summary>More details about this document</summary>
705707
<div data-fill-with="spec-metadata">
@@ -849,7 +851,7 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
849851
<li>
850852
<a href="#device-apis"><span class="secno">9</span> <span class="content">OS and Device Wrapper APIs</span></a>
851853
<ol class="toc">
852-
<li><a href="#device-ids"><span class="secno">9.1</span> <span class="content">Use care when exposing identifying information about devices</span></a>
854+
<li><a href="#device-ids"><span class="secno">9.1</span> <span class="content">Don’t expose unnecessary information about devices</span></a>
853855
<li><a href="#device-enumeration"><span class="secno">9.2</span> <span class="content">Use care when exposing APIs for selecting or enumerating devices</span></a>
854856
<li><a href="#usecase-oriented-apis"><span class="secno">9.3</span> <span class="content">Design based on user needs, not the underlying API or hardware</span></a>
855857
<li><a href="#hardware-is-scary"><span class="secno">9.4</span> <span class="content">Be proactive about safety</span></a>
@@ -920,7 +922,6 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
920922
<li><a href="#informative"><span class="secno"></span> <span class="content">Informative References</span></a>
921923
</ol>
922924
<li><a href="#property-index"><span class="secno"></span> <span class="content">Property Index</span></a>
923-
<li><a href="#issues-index"><span class="secno"></span> <span class="content">Issues Index</span></a>
924925
</ol>
925926
</nav>
926927
<main>
@@ -2773,9 +2774,8 @@ <h2 class="heading settled" data-level="9" id="device-apis"><span class="secno">
27732774
while securing the API surface to the browser.
27742775
So, these are called wrapper APIs.</p>
27752776
<p>This section contains principles for consideration when designing APIs for devices.</p>
2776-
<h3 class="heading settled" data-level="9.1" id="device-ids"><span class="secno">9.1. </span><span class="content">Use care when exposing identifying information about devices</span><a class="self-link" href="#device-ids"></a></h3>
2777-
<p>If you need to give web sites access to information about a device,
2778-
use the guidelines below to decide what information to expose.</p>
2777+
<h3 class="heading settled" data-level="9.1" id="device-ids"><span class="secno">9.1. </span><span class="content">Don’t expose unnecessary information about devices</span><a class="self-link" href="#device-ids"></a></h3>
2778+
<p>In line with the <a href="#data-minimization">Data Minimization</a> principle, if you need to give web sites access to information about a device, only expose the minimal amount of data necessary.</p>
27792779
<p>Firstly, think carefully about whether it is really necessary
27802780
to expose identifying information about the device at all.
27812781
Consider whether your <a href="#priority-of-constituencies">user needs</a> could be satisfied
@@ -2784,10 +2784,12 @@ <h3 class="heading settled" data-level="9.1" id="device-ids"><span class="secno"
27842784
additional information about a device,
27852785
or device identifiers,
27862786
each increase the risk of harming the user’s privacy.</p>
2787-
<p>One risk is that as more specific information is shared,
2788-
the set of <a href="https://www.w3.org/TR/fingerprinting-guidance/">fingerprinting data</a> available to sites gets larger.
2789-
There are also <a href="https://w3cping.github.io/privacy-threat-model/">other potential risks</a> to user privacy.</p>
2790-
<p class="issue" id="issue-70c97a29"><a class="self-link" href="#issue-70c97a29"></a> Privacy Threat Model is not ready for prime time.</p>
2787+
<p>A web app should not be able to distinguish between the user rejecting
2788+
permission to use a sensor/capability, and the sensor/capability not being present.</p>
2789+
<p>As more specific information is shared,
2790+
the <a href="https://www.w3.org/TR/fingerprinting-guidance/">fingerprinting data</a> available to sites gets larger.
2791+
There are also [other potential risks](<a href="https://w3ctag.github.io/privacy-principles/#threats">Privacy Principles § threats</a>)
2792+
to user privacy.</p>
27912793
<p>If there is no way to design a less powerful API,
27922794
use these guidelines when exposing device information:</p>
27932795
<dl>
@@ -2844,7 +2846,7 @@ <h3 class="heading settled" data-level="9.2" id="device-enumeration"><span class
28442846
<p>Look for ways to avoid enumerating devices.
28452847
If you can’t avoid it, expose the least information possible.</p>
28462848
<p>If an API exposes the the existence, capabilities, or identifiers of more than one device,
2847-
all of the risks in <a href="#device-ids">§ 9.1 Use care when exposing identifying information about devices</a> are multiplied by the number of devices.
2849+
all of the risks in <a href="#device-ids">§ 9.1 Don’t expose unnecessary information about devices</a> are multiplied by the number of devices.
28482850
For the same reasons,
28492851
consider whether your <a href="#priority-of-constituencies">user needs</a> could be satisfied
28502852
by a less powerful API. <a data-link-type="biblio" href="#biblio-least-power" title="The Rule of Least Power">[LEAST-POWER]</a></p>
@@ -3810,7 +3812,7 @@ <h3 class="no-ref no-num heading settled" id="w3c-conformant-algorithms"><span c
38103812
Implementers are encouraged to optimize. </p>
38113813
</section>
38123814
</div>
3813-
<script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script>
3815+
<script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script>
38143816
<h2 class="no-num no-ref heading settled" id="index"><span class="content">Index</span><a class="self-link" href="#index"></a></h2>
38153817
<h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="content">Terms defined by this specification</span><a class="self-link" href="#index-defined-here"></a></h3>
38163818
<ul class="index">
@@ -4183,6 +4185,8 @@ <h3 class="no-num no-ref heading settled" id="normative"><span class="content">N
41834185
<dd>Marcos Caceres; Rouslan Solomakhin; Ian Jacobs. <a href="https://w3c.github.io/payment-request/"><cite>Payment Request API</cite></a>. URL: <a href="https://w3c.github.io/payment-request/">https://w3c.github.io/payment-request/</a>
41844186
<dt id="biblio-payment-request-11">[PAYMENT-REQUEST-1.1]
41854187
<dd>Marcos Caceres; Rouslan Solomakhin; Ian Jacobs. <a href="https://w3c.github.io/payment-request/"><cite>Payment Request API 1.1</cite></a>. URL: <a href="https://w3c.github.io/payment-request/">https://w3c.github.io/payment-request/</a>
4188+
<dt id="biblio-privacy-principles">[PRIVACY-PRINCIPLES]
4189+
<dd>Robin Berjon; Jeffrey Yasskin. <a href="https://w3ctag.github.io/privacy-principles/"><cite>Privacy Principles</cite></a>. URL: <a href="https://w3ctag.github.io/privacy-principles/">https://w3ctag.github.io/privacy-principles/</a>
41864190
<dt id="biblio-rfc2119">[RFC2119]
41874191
<dd>S. Bradner. <a href="https://datatracker.ietf.org/doc/html/rfc2119"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <a href="https://datatracker.ietf.org/doc/html/rfc2119">https://datatracker.ietf.org/doc/html/rfc2119</a>
41884192
<dt id="biblio-url">[URL]
@@ -4280,10 +4284,6 @@ <h2 class="no-num no-ref heading settled" id="property-index"><span class="conte
42804284
<td>a number or the keyword nonethe keyword none, or a pair of a metric keyword and a &lt;number>
42814285
</table>
42824286
</div>
4283-
<h2 class="no-num no-ref heading settled" id="issues-index"><span class="content">Issues Index</span><a class="self-link" href="#issues-index"></a></h2>
4284-
<div style="counter-reset:issue">
4285-
<div class="issue"> Privacy Threat Model is not ready for prime time. <a class="issue-return" href="#issue-70c97a29" title="Jump to section"></a></div>
4286-
</div>
42874287
<script>/* Boilerplate: script-dom-helper */
42884288
"use strict";
42894289
function query(sel) { return document.querySelector(sel); }

0 commit comments

Comments
 (0)