---
title: "Comment by Miroslav Galić on \"The Web Storage API\" | Hashnode"
description: "However, please note that sensitive, private data like JWTs should be handled with care and not stored in Web Storage because it can be accessible by anyone. Th"
url: "https://hashnode.com/posts/the-web-storage-api/62a64b35165482d2b3eef0c4/comment/62a883000baf4306d94939a7"
---

[Discussion](https://hashnode.com/posts/the-web-storage-api/62a64b35165482d2b3eef0c4)

Comment [The Web Storage API](https://hashnode.com/posts/the-web-storage-api/62a64b35165482d2b3eef0c4)

[Miroslav Galić](https://hashnode.com/@mgalic)

[Jun 14, 2022](https://hashnode.com/posts/the-web-storage-api/62a64b35165482d2b3eef0c4/comment/62a883000baf4306d94939a7)

> However, please note that sensitive, private data like JWTs should be handled with care and not stored in Web Storage because it can be accessible by anyone.

There isn't anything wrong in storing jwt/jwe in localStorage.

[Akinleye Oyinbayode Peters](https://hashnode.com/@Oyinbayode)

[Jun 14, 2022](https://hashnode.com/posts/the-web-storage-api/62a64b35165482d2b3eef0c4/comment/62a883000baf4306d94939a7#reply-62a8b5be0187d006b4f703f8)

Thank you for pointing this out.

I'm just being extra careful in ensuring that private data is strictly made private.
