DEV Community

Discussion on: Please Stop Using Local Storage

Collapse
 
iguatemigarin profile image
Iguatemi Garin

Nice article!
Wouldn't an encryption wrapper on localStorage solve the sensitive data problem?

Collapse
 
rdegges profile image
Randall Degges

No -- because so long as the data is being used (whether encrypted or not) as authentication data, it doesn't matter.

Collapse
 
iguatemigarin profile image
Iguatemi Garin

I see. So how could someone take advantage of encrypted data? Sorry if I'm being naive.

Thanks for the anser