Re:Offline-Friendly Forms
by FLUX-YOU on Wednesday August 23, 2017 @10:01AM
(#15081588)
It's more that you put the password on the disk in unencrypted format without telling the user. For instance, chrome stores them in sqlite databases which you can just open and select from:
Your disk could be encrypted, but not everyone's will be. It's better to just localStorage as it was intended.
Plus if you introduce a bug later down the line, you might not prune older localStorage entries, meaning they will stay there for much longer than you want. AND the user may not revisit your site ever again after going offline, which doesn't give you an opportunity to prune it.
Re:Offline-Friendly Forms
by FLUX-YOU on Wednesday August 23, 2017 @10:37AM
(#15081831)
No one's going to have a lot of confidence if you ask them to store your sensitive info in plaintext. Just don't do it. The convenience or UX isn't worth it.
http://i.imgur.com/zauv4sK.png
Your disk could be encrypted, but not everyone's will be. It's better to just localStorage as it was intended.
Plus if you introduce a bug later down the line, you might not prune older localStorage entries, meaning they will stay there for much longer than you want. AND the user may not revisit your site ever again after going offline, which doesn't give you an opportunity to prune it.