sisyphus icon indicating copy to clipboard operation
sisyphus copied to clipboard

Should I encrypt before writing to local storage?

Open MikeSteigerwald opened this issue 6 years ago • 1 comments

I've been asked to study any security concerns regarding local storage. Can that data get hacked? Should I encrypt before saving?

MikeSteigerwald avatar Jun 25 '18 12:06 MikeSteigerwald

I know this question is 2 years old ... but for anyone else curious about this topic:

https://dev.to/rdegges/please-stop-using-local-storage-1i04

Recommend reading the comment section as well. The jury is out on the topic - since if you can access LocalStorage via XSS exploit, you have bigger problems than just LocalStorage access.

drawcard avatar Aug 13 '20 09:08 drawcard