I know storing user information in localstorage is unsafe because anyone could access them. However, what if these informations are stored as a crypted jwt (gCS4$dh+ze%vb!fh instead of {name:"joe", age: 45} for example)? Should I use http-cookie no matter what?
Asked
Active
Viewed 20 times
0
-
Does this answer your question? [Can local storage ever be considered secure?](https://stackoverflow.com/questions/17280390/can-local-storage-ever-be-considered-secure) – Flimzy Oct 05 '20 at 12:06
-
No. I'm not using node crypto module, but jwt. The client needs a secret jwt key to decypher the user information. – DoneDeal0 Oct 05 '20 at 12:28