homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

What is appropriate data to save in localStorage?

Msg#: 4614396 posted 9:44 am on Oct 3, 2013 (gmt 0)

How safe/secure is the data saved in html5's localStorage?

I understand that its acceptable to store & retrieve "non-secure" data such as language or font-size preferences and that information is freely available to anyone with access to that browser, but how about more sensitive/private data such as names, addresses and phone numbers?

For instance, would storing a user's phone number to later auto-populate various forms on a website constitute any breach of privacy/security? Also, are there any further implications/issues with this sort of data storage?




WebmasterWorld Senior Member Top Contributors Of The Month

Msg#: 4614396 posted 10:15 pm on Oct 11, 2013 (gmt 0)

I personally wouldn't store anything personal like that for auto-population [or anything else]. Modern browsers will auto-populate if they're set to, but some of us [I for one] don't like auto-population and if you stored and populated the info for me when I have my browsers all set to not do it I would probably be turned off by your site.

Also, if you're not using an https connection 100% of the time the information will be sent from the users computer to your site automatically "in the clear", which means if they're somewhere public with an open wi-fi their information could be compromised without them knowing or even having the option to stop it from happening.

For those and some other reasons, I'd give auto storing/sending anything personal that way the thumbs-down.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved