DEV Community

Discussion on: Please Stop Using Local Storage

Collapse
 
greenhatman profile image
Albert Cloete

If a rogue script can send the contents of local storage to a server, can't they just add a key logger as well? In other words, if someone can inject malicious JavaScript into your site, you've got problems no matter what you do.