News for hackers. Stuff that matters.
Re:Handling cookies is a minefield by graypegg on Thursday November 21, 2024 @03:47PM (#42208501)
I think they mean that you can always send back the content of a localstorage property with javascript grabbing the value and sending another request back with it in the body. Since the front end is going to run any javascript the server sends it (disregarding adblockers at least), it's sort of a more indirect version of Set-Cookie.
Re:Handling cookies is a minefield by emn13 on Thursday November 21, 2024 @04:03PM (#42208632)
Yeah, that's what I meant. There's no built in support; but it's indirectly readable since client-side JS can read it.
Re:Handling cookies is a minefield by j16sdiz on Thursday November 21, 2024 @10:11PM (#42210794)
This miss the "HttpOnly" part, which prevents javascript (think script injection vulnerability) from touching this part of the storage