Re:LocalStorage Exploit on Chrome, Safari (iOS and desktop),...
by asimjalis on Monday March 04, 2013 @12:40AM
(#5316858)
I don’t see a good way around this. If website enforce a domain limit within which all subdomains have to fit, then applications hosted on shared domains such as Heroku or AppSpot.com will squeeze each other out.
[ Parent
| on HN ]
Re:LocalStorage Exploit on Chrome, Safari (iOS and desktop),...
by ne0phyte on Monday March 04, 2013 @05:57AM
(#5317651)
I don't use it but a friend told me that Opera handles that quite well.
It allows a certain amount of space to be used by a TLD and its subdomains and if that space runs out it asks the user whether to give the site more space or to ignore any subsequent tries to write more data.
Re:LocalStorage Exploit on Chrome, Safari (iOS and desktop),...
by M4v3R on Monday March 04, 2013 @02:57AM
(#5317182)
It's not that hard. The browser could simply check against the limits on the subdomain in current top window frame, not individually for all frames/iframes in the document. I guess that Firefox does something along the lines of this that makes it immune to this exploit.
Re:LocalStorage Exploit on Chrome, Safari (iOS and desktop),...
by csmattryder on Monday March 04, 2013 @06:11AM
(#5317681)
A global limit on the amount of Local Storage a browser can hold would work, it's not perfect, but it'll prevent subdomains creating 1GB+ of data.