What is the http-header “X-XSS-Protection”?

后端 未结 5 1489
慢半拍i
慢半拍i 2020-11-28 19:27

So I\'ve been toying around with HTTP for fun in telnet now (i.e. just typing in telnet google.com 80 and putting in random GETs and POSTs with different header

5条回答
  •  离开以前
    2020-11-28 20:28

    X-XSS-Protection is a HTTP header understood by Internet Explorer 8 (and newer versions). This header lets domains toggle on and off the "XSS Filter" of IE8, which prevents some categories of XSS attacks. IE8 has the filter activated by default, but servers can switch if off by setting

       X-XSS-Protection: 0
    

    See also http://blogs.msdn.com/b/ieinternals/archive/2011/01/31/controlling-the-internet-explorer-xss-filter-with-the-x-xss-protection-http-header.aspx

提交回复
热议问题