|
|
|
|
|
by FLUX-YOU
3225 days ago
|
|
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: 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. |
|