uBlockOrigin / uMatrix-issues

This is the community-maintained issue tracker for uMatrix
https://github.com/gorhill/uMatrix
123 stars 17 forks source link

Enhance uMatrix through Feature Policy headers #30

Open emanruse opened 6 years ago

emanruse commented 6 years ago

As far as I know uMatrix uses Content Security Policy headers which are great for controlling and restricting resources. Perhaps the new Feature Policy headers can help to additionally improve uMatrix (perhaps uBO too).

uBlock-user commented 6 years ago

How ? Can you be more specific ?

gorhill commented 6 years ago

Thanks for bringing this to my attention, I was unaware of this new spec. I will have to read through it and see how it can be useful for uMatrix/uBO.

uBlock-user commented 6 years ago

I wonder if this can used to neutralise fingerprinting by selectively disabling abusable features.

uBlock-user commented 6 years ago

WebRTC can also be disabled as per the bug tracker

gwarser commented 6 years ago

https://github.com/gorhill/uBlock/issues/3009#issuecomment-335249546

uBlock-user commented 6 years ago

The proposal did get implemented, so it wasn't abandoned after all.

gwarser commented 6 years ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1390801 "Implement feature-policy"

gwarser commented 6 years ago

Where I can find list of these "features"? Link to "companion document" (mentioned here https://wicg.github.io/feature-policy/#features) is broken https://github.com/WICG/feature-policy/blob/gh-pages/features.md

gorhill commented 6 years ago

Only place I could find is directly in the source code. WebRTC was not in there yet.

uBlock-user commented 6 years ago

@gwarser Policy Controlled Features

uBlock-user commented 6 years ago

Policy Violation Reporting API is also being added, is this going to be in the same vein as CSP Reports ?

gwarser commented 6 years ago

Features planed to be supported: https://bugzilla.mozilla.org/attachment.cgi?id=9013158&action=diff

Cerberus-tm commented 6 years ago

This one might also be important: Should Feature-Policy limit what webextensions can do? https://bugzilla.mozilla.org/show_bug.cgi?id=1495709