Git Product home page Git Product logo

Comments (5)

Seldaek avatar Seldaek commented on July 22, 2024

There is no way to do this per device no. We can't really control how browsers implement the spec and how buggy they are though, so I'm afraid this can't be fixed. What I'll do though is add a config flag to let people send only the standard Content-Security-Policy header and not the old X- and Webkit- prefixed ones. That should effectively exclude older browsers with possibly buggy implementations. Not very nice but better than breaking the site entirely for those users I guess.

from nelmiosecuritybundle.

Seldaek avatar Seldaek commented on July 22, 2024

According to http://michael-coates.blogspot.com/2013/09/security-capabilities-comparison-hsts.html only IE10/11 won't be covered by the standard header, other older browsers IMO are an acceptable loss. That said enabling CSP is pretty beneficial even if you don't cover all browsers, especially with reporting it allows you to fix any issue as soon as a Chrome/Firefox/Opera/Safari user hits the site. Up to you though :)

from nelmiosecuritybundle.

TheHackerDev avatar TheHackerDev commented on July 22, 2024

Thanks, @Seldaek. I appreciate you taking a look into this. I have also heard to stay away from the older headers, so this fix works out well.

from nelmiosecuritybundle.

Seldaek avatar Seldaek commented on July 22, 2024

It's tagged in 1.4.0 now by the way.

from nelmiosecuritybundle.

TheHackerDev avatar TheHackerDev commented on July 22, 2024

Got it, I just updated. Thank you for updating the documentation to match. Made it really easy to switch over.

from nelmiosecuritybundle.

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.