I'm creating a small app in HTML / CSS / JavaScript, the use of the Internet is unavailable, and so it should run completely offline needed. A researcher will use the app to collect data and a CSV file will be prepared with this data for analysis.
JS has built in the security mechanism to prevent access to local file systems. My current plan is to create a Chrome app, store everything in chrome.storage
, and eventually write a file using Chrome's chrome.file system
. This is not ideal, because it requires researchers to provide access to each file (I'm not sure you can give access to folders?), Or to resist the need to resist the "download" files Written on disk is required.
I am looking for a solution that would be uninterrupted in the form of reading / writing local files in other languages (Java, Python). I thought that maybe it could be the creation of WebKit which allows it, or some Chrome flags I can set. Is there a better solution?
No comments:
Post a Comment