Implementing HTTPOnly in PHP
Thursday, August 28th, 2008Coding Horror has an article today about a little-known extension to the http cookie protocol: HTTPOnly.
Essentially, HTTPOnly makes any browser cookies from the site unreadable to javascript (in supported browsers anyway: IE7, Opera 9.5, FF3), thus raising the bar for XSS attacks considerably.
So how do we turn it on in PHP?
(more…)







