Git Product home page Git Product logo

Comments (5)

ojanvafai avatar ojanvafai commented on July 20, 2024

I like it. I think we should flip the default for cascading though. cascade should be opt-out.

Also, we need a disable attribute on iframe as well?

from webappsec-permissions-policy.

igrigorik avatar igrigorik commented on July 20, 2024

I like it. I think we should flip the default for cascading though. cascade should be opt-out.

Yep, that's what we have currently: http://igrigorik.github.io/feature-policy/#the-target-member

Also, we need a disable attribute on iframe as well?

Yep, see: #11

from webappsec-permissions-policy.

igrigorik avatar igrigorik commented on July 20, 2024

Had an offline chat with @jpchase @clelland @mkruisselbrink today. Quick summary:

  1. The rough integration sketch in #10 (comment) sounds reasonable.
    • One concern is lack of <meta> support, opened: #15.
    • The algorithm that processes tokens probably shouldn't call out to Origin Trials specifically, instead just provide an extension point for other specs to hook into.
  2. We talked about pro's and con's of hiding interfaces/methods vs throwing exceptions. Agreed that it probably makes sense to hide interfaces for cases like "disable webrtc", less clear on "disable document.cookie" and similar... Need to think about it some more.

Overall though, I think we agreed that it makes sense to explore this further.

Next step: convert #10 (comment) into a concrete proposal.

p.s. @jpchase @clelland @mkruisselbrink please chime in if I'm forgetting anything.

from webappsec-permissions-policy.

raymeskhoury avatar raymeskhoury commented on July 20, 2024

Hmm would safer defaults be for enable features not to cascade but disabled features to cascade?

from webappsec-permissions-policy.

igrigorik avatar igrigorik commented on July 20, 2024

Closing this; we broke out the various pieces of #9 (comment) into separate threads.

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.