News for hackers. Stuff that matters.
Re:A future for SQL on the web by lowwave on Thursday August 12, 2021 @12:59PM (#28158732)
I wish every browser does that! Web site has no business storing data on my computer more than 4093 bytes (that is already too much) per domain in my computer just because I visited a web page. 10 MB - 10GB of data is too much.
Re:A future for SQL on the web by beebeepka on Thursday August 12, 2021 @01:08PM (#28158824)
I think that's a valid concern. Stuff like this should only be allowed after a prompt where the user explicitly allows it, just like any other permission
Re:A future for SQL on the web by kitsunesoba on Thursday August 12, 2021 @01:51PM (#28159320)
I would say it’s even more important in the case of a web app that stores data locally, because it’s imperative that the user understands that data is tied to that particular web browser and device, and that clearing site data (which I’ve known non-technical users to do periodically to reduce tracking footprint), changing devices, etc can/will result in data loss.

Oddly enough the handful of web apps I’ve known to use local storage don’t communicate this at all. Developers seemingly treat data in browser local storage as existing indefinitely and unlikely to be deleted, when in fact it’s probably the most easily accidentally lost form of storage an app can have.

Re:A future for SQL on the web by sroussey on Thursday August 12, 2021 @01:06PM (#28158817)
Yes, send all your data to someone’s server instead.
Re:A future for SQL on the web by tshaddox on Thursday August 12, 2021 @03:26PM (#28160411)
If you're concerned about a web site silently having access to personal data from your phone, surely it doesn't matter whether that web site is storing it silently in your device's browser storage, or storing it on the web site's servers.

If, on the other hand, you're explicitly uploading or entering data on a web site, well then yes, the default assumption would certainly be that the data is getting saved on the web site's servers (if it's being saved at all). That's how the web has worked for a very long time, with the exception of cookies and a few other more recent but not widely known storage mechanisms which in most cases aren't considered sufficiently robust for persistent on-device storage.