You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many web site uses JSONP, but may set the wrong Content-Type(e.g.
text/html), sniffing will let the codes looks working. But for security, I
want to turn sniffing off using `X-Content-Type-Options: nosniff`.
Sometimes it is really difficult for me to find out all the JSONP with
wrong Content-Type assigned.
If I can use CSP like :
Content-Security-Policy-Report-Only: content-type-option noniff; report-uri
/cspreport.do
Help me finding out all the Content-Type sniffing invoke.
P.S.
1. "X-" prefix header is deprecated by RFC6648
2. In CSP Level 2 frame-ancestors replaces X-Frame-Options and
reflected-xss replaces X-XSS-Protection, but X-Content-Type-Options has no
replacement.
The text was updated successfully, but these errors were encountered:
As proposed in http://lists.w3.org/Archives/Public/public-webappsec/2014Aug/0034.html:
The text was updated successfully, but these errors were encountered: