-
Notifications
You must be signed in to change notification settings - Fork 39
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
Security Header 'Permissions-Policy' would be 'nice to have' for internet.nl #1239
Comments
See MDN, it seems there is no catch-all directive? So this is twofold:
I don't see exposing it is dependent on testing for it (e.g. internet.nl has added an So which directives does securityheaders.com uses: $ curl -sSfA '' -D- -o/dev/null https://securityheaders.com | grep -i permissions-policy
How is this selection of just 8 of the 34 directives made? Performing this on the MDN page: [...document.querySelectorAll('.section-content>dl:last-child > dt > a > code')].map(x=>x.textContent).join("=(), ")+"=()" Results in a 635 bytes (or 602 without spaces):
Together with the 20 bytes |
Note that the specification is a Working Draft: https://www.w3.org/TR/permissions/ |
That is about permissions, but not the permissions-policy, that is also a Working Draft: https://www.w3.org/TR/permissions-policy-1/ or https://w3c.github.io/webappsec-permissions-policy/ (the latter supports dark mode). It might indeed be better to wait for a finalized non draft version. |
Yes, my mistake. That is indeed the specification I meant. |
Put it in icebox for now... |
Permissions-Policy for internet.nl could maybe get score A+ instead of A.
https://securityheaders.com/?q=internet.nl&followRedirects=on
There could be some reason not to implement.
The text was updated successfully, but these errors were encountered: