Quantcast
Channel: Does HTML5 web storage (localStorage) offer a security advantage over cookies? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Does HTML5 web storage (localStorage) offer a security advantage over cookies?

$
0
0

I was looking up alternative to cookies and I've read about HTML5 web storage here, and I've read a simpler explanation here but I still don't get how it works fully. Can someone offer a slightly non-techinical explanation so that I can then understand the technical bits. It says about browsers having to store key value pairs but where and how is it stored and why is it inaccessible to other sites? Why isn't it considered just an other form of cookies?

  1. I'm looking for a thorough and complete alternative to cookies; as in if my organisation wants to replace all it's websites from using cookies to say an alternative for say web-storage then can we easily say 'Yes' to that requirement? Let's assume only the latest browsers are used.

  2. How and in what ways does web-storage enhance security when compared to cookies? Does it have potential to compromise security in other ways? Is there someone with any real life experiences who can share the pros and cons?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images