Earlier quoted context omitted.
If you have XSS attack vector on your site, the attacker can do almost anything including cookie access(for all cookies that aren't HttpOnly). Also CSRF protection doesn't protect against clickjacking attacks where the page is iframed set transparent and user is encouraged to click in a specific location(punch the monkey in the face) on the attackers page. Easiest solution is to use javascript to detect if your page…
For click-jacking, the easiest thing to do is to set the X-Frame-Options header, but I'll get to that. And it doesn't help IE And we'll get to session hijacking and why your session cookies in particular should always be HttpOnly and preferably secure.
Re: CSRF: Cross-Site Request Forgeries
#21Thanks for the info, didn't know about the header.