How a web app can download and store over 2GB without you even knowing it
jclaes.blogspot.com
jclaes.blogspot.com
- register 1000 domains
- when the browser navigates to the first domain, store 5Mb
- once the store has finished, redirect to the next domain
- repeat steps 2-3 ad infinitum
Anybody know if this would work?The documentation at http://dev.w3.org/html5/spec/offline.html#disk-space states that "care should be taken to ensure that the restrictions cannot be easily worked around using subdomains", so one would really have to use different domains as you write, which sounds a bit costly.
Edit: Ooops; didn't see the comment above about sub-domains. Worth a try though!
localStorage is the one that prompts the user for more than 5MB, but the author was using application, which I've never seen prompt.
I _believe_ that both quotas can be increased after confirmation from the user, but I haven't made any tests.
not when you're browsing localhost, because it's implicitly trusted. chrome doesn't prompt you to allow access to the location services API when you're local either, but it does prompt for permission on the web. does the browser still not warn you if you try this same test using a remote server?
I think that the Application Cache quota is not strictly connected to the local storage and session storage limits.