Hacker News new | ask | show | jobs
by jamessocol 5082 days ago
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 <= 7, so you need to weigh cost/benefit and your user base there.

And we'll get to session hijacking and why your session cookies in particular should always be HttpOnly and preferably secure.

1 comments

Thanks for the info, didn't know about the header.