Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-15 Thread Patrick Dark
David Kendal 於 4/15/2017 12:54 PM 寫道: On 15 Apr 2017, at 14:07, Roger Hågensen wrote: Patrick makes a good point. For example asking a user if it' sok for the HTML document to access stuff in "C:\Users\Username\AppData\Local\Temp\" what do you think most uses will do?

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-14 Thread Patrick Dark
David Kendal 於 4/9/2017 4:51 AM 寫道: A proposed solution, though far from the only one possible: There should be a new API something like this: window.requestFilesystemPermission(requestedOrigin); which does something like - If permission was already granted for the specified requestedOrigin

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-14 Thread Patrick Dark
David Kendal 於 4/14/2017 11:58 AM 寫道: On 11 Apr 2017, at 19:50, Patrick Dark <whatwg.at.whatwg@patrick.dark.name> wrote: The "world wide web" is the user-facing portion of the Internet. Files on a CD or USB drive are not part of that. You are continuing to do

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-11 Thread Patrick Dark
David Kendal 於 4/11/2017 11:46 AM 寫道: On 11 Apr 2017, at 17:01, Domenic Denicola wrote: Bingo. This mailing list is for developing technology for the world wide web, not for peoples' local computers. The World Wide Web includes peoples' own computers. file:// is a URI scheme

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-11 Thread Patrick Dark
Jan Tosovsky 於 4/10/2017 5:38 PM 寫道: On 2017-04-10 David Kendal wrote: On 2017-04-09 Jan Tosovsky wrote: On 2017-04-09 David Kendal wrote: ... there are many possible uses for local static files accessing other local static files: the one I have in mind is shipping static files on CD-ROM or

Re: [whatwg] Accessing local files with JavaScript portably and securely

2017-04-11 Thread Patrick Dark
David Kendal 於 4/9/2017 4:51 AM 寫道: This is a shame because there are many possible uses for local static files accessing other local static files: the one I have in mind is shipping static files on CD-ROM or USB stick, but there is also the more obvious (and probably more common) use of local