Hacker News new | ask | show | jobs
by pags 3651 days ago
What is a "level" of security? If I'm able to inject arbitrary code into your page, with it I can access your local storage data, but I can't access your "http only" cookies - so there's at least some "level" of difference.
1 comments

If you're at the point where someone can inject random code into your site, you've already lost and have so many more problems than access to localStorage.