views:

96

answers:

1

For storing data offline WebApp can use:

But apparently there is no File Storage. Of course, there is a manifest-based caching, but it's just a cache and is not supposed to be used as a user data storage.

Does it mean that the user of WebApp is forced to use some sort of a cloud file storage?

Is there any way to save large files on user's local machine? Or maybe some way to select a local folder web application can use to store user data?

Edit. Security. HTML5 already has the ability to write big portions of data to user's local machine. I don't see any security issues if a browser will provide another, file-based abstraction to store data. It can be some virtual machine, virtual filesystem, whatever.

Hm, I think, it is possible to write JS filesystem and store it as a blob in SQL...

+1  A: 

For security reasons you can't write files to a user's local filesystem in case it gets used for nefarious purposes by evil people.

That's not likely to change, and that's a good thing.

Ian Devlin
I think that's not a good thing. WebApps are getting more "clouddy" and less "free". How about implementing offline notepad in HTML5?
Vanuan
I'm not saying about local filesystem. Some virtual "sandbox" filesystem would be fine. HTML5 already has the ability to read-write shared SQL database. What about allocating some empty folder for web app to store its data?
Vanuan