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

CSP: block WebRTC #479

Closed
wants to merge 1 commit into from
Closed

CSP: block WebRTC #479

wants to merge 1 commit into from

Conversation

Seirdy
Copy link
Contributor

@Seirdy Seirdy commented Aug 6, 2022

Merged to the webappsec-csp repo in April:
w3c/webappsec-csp#457

@thestinger
Copy link
Member

Is it implemented by any browsers yet?

@Seirdy
Copy link
Contributor Author

Seirdy commented Aug 7, 2022

Not yet, unfortunately. I expect Chromium will implement this.

I think it'll be an important directive since WebRTC does not go through Fetch. Closing this loophole was one of the most demanded CSP features in the past.

@Seirdy
Copy link
Contributor Author

Seirdy commented Aug 11, 2022 via email

@Seirdy
Copy link
Contributor Author

Seirdy commented Aug 12, 2022

It looks like this is unnecessary, given that the Permissions-Policy already blocks WebRTC.

@Seirdy Seirdy closed this Aug 12, 2022
@thestinger
Copy link
Member

I don't think there's a Permissions-Policy setting for WebRTC itself.

@thestinger thestinger reopened this Aug 12, 2022
@ghost
Copy link

ghost commented Aug 12, 2022

w3c/webappsec-permissions-policy#250

This issue seems to indicate that there is no webrtc Permissions-Policy

@Seirdy
Copy link
Contributor Author

Seirdy commented Aug 13, 2022 via email

@thestinger
Copy link
Member

@Seirdy We had to rebase the repository to fix some commit messages for a legal reason. Can you rebase this?

Merged to the webappsec-csp repo in April:
w3c/webappsec-csp#457
@Seirdy
Copy link
Contributor Author

Seirdy commented Oct 11, 2022 via email

@thestinger
Copy link
Member

This is implemented now.

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.

3 participants