logoalt Hacker News

ddlsmurflast Thursday at 11:27 PM1 replyview on HN

if you set the cookier header right (definitely not always the case), this is true, but the javascript can still send requests that will have that cookie included, effectively still letting the hacker use the session as the logged in user


Replies

collinmandersonyesterday at 2:55 PM

with http-only they can't _steal_ the cookie, but they can still _use_ the cookie. It reduces the impact but doesn't fully solve it.