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

Filling in threat mitigations in privacy-security-explainer.md #746

Merged
merged 6 commits into from
Jul 3, 2019

Conversation

NellWaliczek
Copy link
Member

Ok, hopefully in the home stretch now!

This PR is based on top of #739 and it is somewhat related, but is primarily attempting to incorporate the guidance that was laid out in #638 in a way that aligns with developer intent and the structure of the specification. In other words, it is intended to be the foundation of the spec text changes we need to make next. In that next PR, I'm expecting that the algorithms for each "signal" API call will be updated to depend on a combination of algorithms and internal variables which are described (roughly) in the bulleted lists in this PR.

Odds are I've missed or misrepresented some of the threats/mitigations covered in #638, so please do let me know what needs fixing up.

/fixes #393, #485

@NellWaliczek
Copy link
Member Author

/fixes #393, #485

Copy link
Contributor

@klausw klausw left a comment

Choose a reason for hiding this comment

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

A few minor comments - this isn't a full review.

Copy link
Member

@toji toji left a comment

Choose a reason for hiding this comment

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

Looking really good overall! A few nits, but I'm giving you my approval now because I'm not gonna be around to re-review till Monday.

@NellWaliczek
Copy link
Member Author

The thought occurred to me last night that I might need to call out XRInputSource threats in their own section. Leaving myself a note to think about it on Monday

Copy link
Contributor

@johnpallett johnpallett left a comment

Choose a reason for hiding this comment

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

This is generally really great, thanks Nell! I've filed #747 and #748 as follow-ups after this PR lands. Some text comments inline as well.

Per discussion there are some additional topics (e.g. private browsing modes) in #638 that are not covered in this explainer (and also not blocking for this PR). @NellWaliczek I'll file issues for those topics as well.

@NellWaliczek
Copy link
Member Author

Ok, I think I've addressed everything except the XRInputSource concerns. I'll get to that after lunch. Meanwhile, I think folks can go through and double check the rest of the changes

@toji toji added this to the June 2019 milestone Jul 1, 2019
Copy link
Contributor

@johnpallett johnpallett left a comment

Choose a reason for hiding this comment

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

Found some typos referencing the 'implied consent' anchor

@NellWaliczek NellWaliczek force-pushed the threat-mitigations branch 3 times, most recently from 7575ecb to 7699636 Compare July 2, 2019 16:03
@NellWaliczek NellWaliczek changed the base branch from feature-configuration to master July 2, 2019 16:03
johnpallett added a commit to johnpallett/webxr that referenced this pull request Jul 2, 2019
After immersive-web#746 is merged, carry-forward work from this document into the privacy & security explainer is tracked at immersive-web#748, immersive-web#750, #753, immersive-web#754
@NellWaliczek
Copy link
Member Author

Any last feedback? @avadacatavra? I'm going out of internet range for a few days starting tomorrow morning and want to get this landed before I do, so folks can start filing PRs on top of it.

@toji
Copy link
Member

toji commented Jul 2, 2019

Already left my approval previously, but reaffirming that the latest text looks good to me! 👍


If these requirements are not met and `unbounded` is listed in `XRSessionInit.requiredFeatures` then the promise returned from `requestSession()` must be rejected. Otherwise, the promise may be fulfilled but future calls to `XRSession.requestReferenceSpace()` must fail when passed `unbounded`.

Once a session is created, developers may attempt to create a bounded reference space by passing `unbounded` into `XRSession.requestReferenceSpace()`.

Choose a reason for hiding this comment

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

Is this supposed to be 'create an unbounded reference space' or am I missing something?

@avadacatavra
Copy link

Looks great! One miniscule nit---are we using '6DOF' or '6-DOF'?

👍 from me

@NellWaliczek
Copy link
Member Author

Looks like the answer was: neither, we use '6DoF'. Fixed both pieces of feedback.

Sounds like we're good to go on this PR, so I'm gonna merge it and then disappear into the woods.

@NellWaliczek NellWaliczek merged commit b955bf2 into master Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address concerns outlined in immersive-web/privacy-and-security
5 participants