GithubHelp home page GithubHelp logo

Comments (6)

alvestrand avatar alvestrand commented on June 8, 2024

This seems to confuse getUserMedia with WebRTC. They are different things.

from webappsec-permissions-policy.

alvestrand avatar alvestrand commented on June 8, 2024

@foolip noted that the discussion is taking place.

from webappsec-permissions-policy.

foolip avatar foolip commented on June 8, 2024

Yeah, I remembered seeing "webrtc" as a category and wondering if it made sense, mentioned it to @alvestrand today, didn't know there was an issue already.

I suspect this is too broad a label, can it be removed in favor of the specific things you want to disable? After all, it's possible to use getUserMedia to take photo of yourself without involving WebRTC at all.

from webappsec-permissions-policy.

foolip avatar foolip commented on June 8, 2024

I wondered out loud if this issue might have something to do with IP exposure and @alvestrand pointed me to https://tools.ietf.org/html/draft-ietf-rtcweb-ip-handling-01

If preventing iframes from using those APIs was part of the orignal motivation, figuring out what the minimal surface to block is would be good. To just make the RTCPeerConnection() constructor throw might be doing more than you want?

from webappsec-permissions-policy.

igrigorik avatar igrigorik commented on June 8, 2024

@alvestrand @foolip see 97243cf - does it make sense? Please chime on that commit and/or on #33.

from webappsec-permissions-policy.

alvestrand avatar alvestrand commented on June 8, 2024

Sorry for being slow to respond - this looks OK to me. There are other things that might want to go in either category (ORTC new comms features that can be used without PeerConnection, for instance), but let's burn that bridge when we come to it.

from webappsec-permissions-policy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.