csp

作者: jluemmmm | 来源:发表于2020-12-28 20:59 被阅读0次

    Content security policy通过指定有效域(浏览器认可的可执行脚本的有效来源),使服务端有能力减少或消除xss攻击依赖的载体。一个csp兼容的浏览器将会仅执行从白名单域获取的脚本文件,忽略所有的其他脚本(包括内联脚本和html的事件处理属性)。

    内容安全策略 mdn

    Locking Down Your Website Scripts with CSP, Hashes, Nonces and Report URI

    What’s the purpose of the HTML “nonce” attribute for script and style elements?

    CSP Is Dead, Long Live CSP! On the Insecurity of Whitelists and the Future of Content Security Policy

    有时间再学习整理

    相关文章

      网友评论

          本文标题:csp

          本文链接:https://www.haomeiwen.com/subject/idntoktx.html