Live data from Hacker News

HTML5 localStorage allows sites to fill up users' hard disks

feross.org

31–40 of 191 posts

Re: HTML5 localStorage allows sites to fill up users' hard disks

#31
post #5
post #2

I was really annoyed by the fact that the "disk filling" started as soon as I clicked the link. However, the point really hit home. Is there a solution for this browser-side? EDIT: The link has been changed to the blog post describing the phenomenon. Good riddance!

You can use Firefox. Firefox actually implements a reasonable storage limit policy for this. 10MB for an entire domain (all subdomains included)

I bet it would still work in Firefox but it would be more expensive, because you'd need to purchase a lot of top-level domains to pull it off.

Re: HTML5 localStorage allows sites to fill up users' hard disks

#33
post #9
post #8

How is that done? Isn't there a limita Limit of 5Mb(?) per Domain definend in the HTML5 Spec for LocalStorage?

per SUBdomain. So just use: example.com 1.example.com 2.example.com ...

In the spec, it's per domain. As implemented in Chrome/Safari/IE, it's per subdomain.

Re: HTML5 localStorage allows sites to fill up users' hard disks

#36

The message is OK, but personally I have an issue with websites playing sound without my consent.

This is such a typical HN comment. The sound and automatic start of disk filling (before the mods changed the link) was intentional and meant to be surprising.

Re: HTML5 localStorage allows sites to fill up users' hard disks

#37
Reminds me how filing bugs with Microsoft is such a pain!

There's no category for Windows 8 on MS Connect, so when we found a bug in Windows 8 RTM I found the name of an MS employee working on the feature in question on the MSDN forums, then through Google found his LinkedIn profile where he luckily published his eMail address.

Microsoft should be ashamed.

It seems like the best way to file a bug these days is to create a blog post and publish it to HN, Reddit or so...

Re: HTML5 localStorage allows sites to fill up users' hard disks

#39
post #5

Earlier quoted context omitted.

You can use Firefox. Firefox actually implements a reasonable storage limit policy for this. 10MB for an entire domain (all subdomains included)

I bet it would still work in Firefox but it would be more expensive, because you'd need to purchase a lot of top-level domains to pull it off.

If you're willing to spend tens of thousands of dollars, there are better ways to mess with somebody's computer.

Re: HTML5 localStorage allows sites to fill up users' hard disks

#40
post #5

Earlier quoted context omitted.

You can use Firefox. Firefox actually implements a reasonable storage limit policy for this. 10MB for an entire domain (all subdomains included)

I bet it would still work in Firefox but it would be more expensive, because you'd need to purchase a lot of top-level domains to pull it off.

But at $185,000 a piece, who will be doing that?
Post reply on HN