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

Restricted access to scary paths should be normative #74

Closed
cynthia opened this issue Jul 31, 2019 · 2 comments · Fixed by #172
Closed

Restricted access to scary paths should be normative #74

cynthia opened this issue Jul 31, 2019 · 2 comments · Fixed by #172
Milestone

Comments

@cynthia
Copy link

cynthia commented Jul 31, 2019

In response to: w3ctag/design-reviews#390

https://github.com/WICG/native-file-system/blob/master/security-privacy-questionnaire.md#27-does-this-specification-allow-an-origin-access-to-sensors-on-a-users-device

Suggests "no, /dev is off limits", but it feels like we should have some normative text to align behavior across limitations.

(e.g. "Please select your home directory", which a lot of Mac App Store apps do is even scary territory)

@lknik
Copy link

lknik commented Jul 31, 2019

I'm also very interested in that (as In: #73). /dev and other dangerous paths (/proc? /sys?) should be explicitly out of scope. That said, we can assume that many files in /home are also pretty sensitive, but since it is easy to blacklist some big risk areas, that would be a reasonable default.

@mkruisselbrink
Copy link
Contributor

I disagree that the spec should normatively require certain paths to be off limits. The spec can/should certainly document when/where checks should be done, and what should be done when a off-limits directory is selected, but the exact list of off limits directories really should be up to the individual implementations. For example I can imagine implementations to have different/less limitations when a particularly strong trust relationship exists.

@mkruisselbrink mkruisselbrink added this to the MVP milestone Aug 27, 2019
mkruisselbrink added a commit that referenced this issue Apr 15, 2020
We don't want to dictate an explicit list of paths that all browsers
should block, but giving some examples of paths that might make sense
for user agents to block still seems sensible.

This fixes #74
mkruisselbrink added a commit that referenced this issue Apr 16, 2020
* Be a bit more explicit about restricted directories.

We don't want to dictate an explicit list of paths that all browsers
should block, but giving some examples of paths that might make sense
for user agents to block still seems sensible.

This fixes #74

* fix typo, and add downloads directory
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 a pull request may close this issue.

3 participants