Hacker News new | ask | show | jobs
by judge2020 6 days ago
Connect-src 'none' does not actually block webrtc, only the setup.
1 comments

Wow, TIL. So this is about WebRTC.

I just tried, and you cannot block it reliably. Even window.RTCPeerConnection = undefined can be undone, you can create an iframe and set it back to iframe.contentWindow.RTCPeerConnection.

Thanks for the heads up.