Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35003
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Web app to local file system. |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <fc6dnQf8wI9gsGjHnZ2dnUU7-WHNnZ2d@westnet.com.au> <XnsA8DF5E39ECF34eejj99@194.109.6.166> |
| Date | 2018-05-11 09:44 +0200 |
| Message-ID | <XnsA8DF6318C8311eejj99@194.109.6.166> (permalink) |
"Evertjan." <exxjxw.hannivoort@inter.nl.net> wrote on 11 May 2018 in comp.lang.javascript: > Andrew Poulos <ap_prog@hotmail.com> wrote on 11 May 2018 in > comp.lang.javascript: > >> I've been asked to build a web app that will only be used within the >> company. The app allows users to assemble content (images, video...) >> into a series of pages. >> >> Except for the app itself I'm not going to be given additional space on >> the server nor access to server side coding. >> >> Using the File api I can track/display content the user selects the >> first time but when the browser is closed I lose it all. >> >> Is there a way for a user to nominate a folder on their computer into >> which the app can store/retrieve content without overly compromising >> security? >> >> I note that Mozilla has LocalFileSystem and a File and Directory Entries >> API but it's not for production use. > > Meseems it is rolled out to all modern browsers: > > window.localStorage > - stores data with no expiration date > > window.sessionStorage > - stores data for one session > (data is lost when the browser tab is closed) > > <https://www.w3schools.com/html/html5_webstorage.asp> > > ============= > > The Google Chrome I use now > Version 67.0.3396.40 (Official Build) beta (64-bit) > responds to a test with: > > localStorage: limited to 5101 k characters > sessionStorage: limited to 5101 k characters > globalStorage: not supported > > <http://dev-test.nemikor.com/web-storage/support-test/> > > =============== > > see also: > > <https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage> > > <https://html5demos.com/storage/> > > with warning: > > <https://html.spec.whatwg.org/multipage/webstorage.html#dom-localstorage> > > with possible issues: > > <https://caniuse.com/#feat=namevalue-storage> And from the armchair: <https://youtu.be/OsKmRlSM98o> -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Web app to local file system. Andrew Poulos <ap_prog@hotmail.com> - 2018-05-11 15:45 +1000
Re: Web app to local file system. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-11 09:15 +0200
Re: Web app to local file system. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-11 09:44 +0200
Re: Web app to local file system. Julio Di Egidio <julio@diegidio.name> - 2018-05-11 01:53 -0700
Re: Web app to local file system. Dr.Kral@nyc.rr.com - 2018-05-11 10:18 -0400
Re: Web app to local file system. Dr.Kral@nyc.rr.com - 2018-05-11 12:29 -0400
Re: Web app to local file system. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-11 21:39 +0200
Re: Web app to local file system. Dr.Kral@nyc.rr.com - 2018-05-11 17:29 -0400
Re: Web app to local file system. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-12 14:38 +0200
Re: Web app to local file system. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-12 02:42 -0700
csiph-web