On 28-Jul-09, at 11:55 PM, Peter Kasting wrote: > Putting aside the technical questions here, I'm a little skeptical > from a UI perspective. How do I know what's OK and what's not? If > a "bad" app wants to use a lot of disk, can it convince me to let it > if I'm a novice user? In other words, are my choices going to be > significantly better than random, if I don't know a ton about > computers (e.g. can't keep track of the difference between "disk" > and "memory" usage)?
First of all, this really hasn't actually come up in real world usage. No web app that I've experienced uses localStorage past 5MB, and indeed once you get that much data out there people start crying for the W3C Storage spec and we all start debating SQLite vs. CouchDB again. All we're doing at this point is preventing malicious applications from eating up disk, really. For Firefox, we do this by setting some sane cap (I think it's 5MB, can't recall exactly) and then notifying users if the application attempts to go over. > In the world of normal applications, you basically give them > arbitrary permission to use your disk, but the good ones write some > requirements ahead of time like "requires 200 MB free hard drive > space" and warn you at install if you're below that. Can we make > the UI more like that, where you make a single trust decision up > front? Yes an app can lie, but normally-installed apps can lie > too. Can we provide enough ranking and feedback somewhere to make > this decision easier on users? For example, "57% of users chose to > install <foo.com>, and gave it an average rating of 2.3 stars." Oooh, web of trust. There are some flaws. :) I do think the right answer here is to only get the user involved when the case seems pathological. Most uses of localStorage will be for "better than cookies," I suspect. cheers, mike --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
