Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Commit

Permalink
Add security and privacy questionnaire
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jan 14, 2020
1 parent 0d1755b commit 26496d1
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions security-and-privacy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Security and privacy

In general this specification allows web pages to opt in to better security and privacy for their users (specifically against side-channel protection), in the cases where browsers are able to process-isolate them.

## Questionnaire answers

The following are the answers to the W3C TAG's [security and privacy self-review questionnaire](https://www.w3.org/TR/security-privacy-questionnaire/).

**Does this specification deal with personally-identifiable information?**

No.

**Does this specification deal with high-value data?**

No.

**Does this specification introduce new state for an origin that persists across browsing sessions?**

Yes. This adds to [Origin Policy](https://github.com/WICG/origin-policy), which persists across browsing sessions using the HTTP cache.

**Does this specification expose persistent, cross-origin state to the web?**

No.

**Does this specification expose any other data to an origin that it doesn’t currently have access to?**

No. In fact, it allows an origin to reduce the data it has access to.

**Does this specification enable new script execution/loading mechanisms?**

No.

**Does this specification allow an origin access to a user’s location?**

No.

**Does this specification allow an origin access to sensors on a user’s device?**

No.

**Does this specification allow an origin access to aspects of a user’s local computing environment?**

No.

**Does this specification allow an origin access to other devices?**

No.

**Does this specification allow an origin some measure of control over a user agent’s native UI?**

No.

**Does this specification expose temporary identifiers to the web?**

No.

**Does this specification distinguish between behavior in first-party and third-party contexts?**

Yes. The [rules involved in choosing an agent cluster key](/README.md#specification-plan) will vary depending on what else is in the browsing context group, so e.g. a top-level page with no iframes can differ in behavior from a top-level page with many iframes, or from a page embedded as an iframe.

**How should this specification work in the context of a user agent’s "incognito" mode?**

It should follow Origin Policy, which in turn follows the rules for the HTTP cache. (See [Origin Policy's security and privacy questionnaire](https://github.com/WICG/origin-policy/blob/master/security-and-privacy.md).)

**Does this specification persist data to a user’s local device?**

Yes, via the HTTP cache (as part of Origin Policy).

**Does this specification have a "Security Considerations" and "Privacy Considerations" section?**

Not in itself. Since, as a specification, this will end up just being patches to HTML and Origin Policy, it will rely on those specifications sections.

**Does this specification allow downgrading default security characteristics?**

No.

0 comments on commit 26496d1

Please sign in to comment.