News for hackers. Stuff that matters.
Re:HTML5 localStorage allows sites to fill up users' hard disks by crazygringo on Thursday February 28, 2013 @01:57PM (#5300206)
Give a standard amount to top-level domains (like tumblr.com), but keep track of it per-subdomain (so you know how it's divided up, even though it all adds up to the same quota).

Then, whenever space is used up, ask the user if they're willing to authorize extra space for the specific subdomain being added to. If they say yes, then it's authorized for that single subdomain (but not other ones).

I don't think there's any "automatic" way to do this, without asking the user. And I think most users would prefer to be asked.

There are no comments on this comment yet.