[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PHP: Send Header to Disable X-XSS-Protection

Posted on 2010-08-30
4
Medium Priority
?
2,521 Views
Last Modified: 2013-11-16
Using PHP, how can I send a header to disable X-XSS-Protection?
0
Comment
Question by:hankknight
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:Gatherer_Hade
ID: 33563666
have you tried

header(“X-XSS-Protection: 0¿);
0
 
LVL 2

Accepted Solution

by:
Gatherer_Hade earned 2000 total points
ID: 33563668
header("X-XSS-Protection: 0");
sorry
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 33566449
Sometimes it is all about how you ask the question:
http://lmgtfy.com?q=PHP%3A+Send+Header+to+Disable+X-XSS-Protection

See the second answer (from Stackoverflow) for a good discussion and the header command.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 33566461
0

Featured Post

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question