Skip to content

Commit

Permalink
Add data minimization principle (#465)
Browse files Browse the repository at this point in the history
* Add data minimization principle

* Update index.bs

Co-authored-by: Amy Guy <[email protected]>

* Update index.bs

Co-authored-by: Amy Guy <[email protected]>

* Update index.bs

Co-authored-by: Amy Guy <[email protected]>

* Update index.bs

Co-authored-by: Sangwhan "fish" Moon <[email protected]>

* Editorial

Co-authored-by: Sangwhan "fish" Moon <[email protected]>

* Update index.bs

Co-authored-by: Daniel Appelquist <[email protected]>

* Update index.bs

Co-authored-by: Daniel Appelquist <[email protected]>

* Update index.bs

Co-authored-by: Lea Verou <[email protected]>

* Update index.bs

Co-authored-by: Daniel Appelquist <[email protected]>

* Update index.bs

Co-authored-by: Daniel Appelquist <[email protected]>

* Update index.bs

Co-authored-by: Daniel Appelquist <[email protected]>

* Update index.bs

* Update index.bs

---------

Co-authored-by: Amy Guy <[email protected]>
Co-authored-by: Sangwhan "fish" Moon <[email protected]>
Co-authored-by: Lea Verou <[email protected]>
  • Loading branch information
4 people authored Jan 25, 2024
1 parent c8a5914 commit a46392a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,27 @@ Parts of the web platform evolve independently.
Issues that are present with a certain web technology now may be fixed in a subsequent iteration.
Duplicating these issues makes fixing them more difficult.
By adhering to this principle we can make sure overall platform quality improves over time.

<h3 id="data-minimization">Minimize user data</h3>

Design features to work with the minimum amount of data necessary to carry out their
users' goals.

<a href="https://www.w3.org/TR/privacy-principles/#data-minimization">Data minimization</a>
limits the risks of data being inappropriately disclosed or misused.

Design Web APIs to make it easier for sites to request, collect, and/or transmit
a small amount of data, or more granular or specific data, than it is to work with
more generic or bulk data.
APIs should also provide granularity and user controls,
in particular over <a href="https://www.w3.org/TR/privacy-principles/#dfn-data">personal data</a>,
that is communicated to sites.
When additional functionality requires additional data, APIs can enable this
subject to user consent (e.g., a permission prompt or user activation).

<div class=example>
A <a href="#font-enumeration">Font Enumeration API</a> API was once proposed, but the tradeoff of user data exposed was not justified by the use cases. Instead, an alternative solution was proposed, which only exposed the font the user actually selected.
</div>
<h2 id="api-across-languages">API Design Across Languages</h2>

<h3 id="simplicity">Prefer simple solutions</h3>
Expand Down

0 comments on commit a46392a

Please sign in to comment.