Everyone and His Dog is Fixing WebRTC

Enhanced. Fixing. Solving. Enterprise grade. Improving. Completing.



Hi Tsahi, great post.
I'm wondering what's your take about opt-in enablement of the WebRTC Data Channel?
I mean, most browsers will ask for a user's permissions to allow things like obtaining the user's location via the Geo API etc. In light of this, the uncontrolled experience provided by the WebRTC Data Channel API looks a bit unsecure in my opinion.
orcaman,
Degine unsecure first. It isn't the IP addresses or the RTP routes that are "protected" by user's permission but rather the access to the camera and mic which are protected - with or without peerconnection accesss.
Data Channel on its own doesn't make any data not already available to the code, so theoretically, whatever can be sent on the data channel could be just as easily sent over a websocket.
Only thing left is the debate around local IP addresses, which I see as rather useless in most cases (I'll let you in on a little secret - all of my home IP addresses are 10.0.0.x).
I mean secure in an applicative way. For example, using WebRTC, I can connect an unsuspecting user to a P2P mesh network in order to share content. This means the user's upload stream is used without his permission and knowledge. Do you find this behavior acceptable? I think it's a bit border-line, and would expect Google to make this feature an opt-in one.
How is that any different than your browser sending the SAME data to a URL of its choice through JS code on a websocket?
Don't forget the "optimized webrtc", aka "we took the BSD-licensed google thing, added five lines of code and sell it"
Yap. Missed that one this time.