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

On 9 Apr 2017, at 14:48, Philipp Serafin <phil127@gmail.com> wrote:

> Note also that the HTTP server solution requires you to ship a binary
> (the server) with your files, therefore sacrificing platform
> independence and requiring the user to run an untrusted binary, all
> just to show some HTML files.

This is my main concern with the 'ship a server' approach.

In addition, though local servers are easy for experienced developers to
spin up, it's an extra potentially confusing step for developers who are
brand new to the web platform. It's an additional concept to grasp before
you can even get started, and those should be absolutely minimized.
Beginners may not even have HTTP hosting space of their own yet, and be
dependent on their local filesystem to see their pages.

-- 
dpk (David P. Kendal) · Nassauische Str. 36, 10717 DE · http://dpk.io/
  A, der edelste, ursprünglichste aller laute, aus brust und kehle voll
    erschallend, den das kind zuerst und am leichtesten hervor bringen
    lernt, den mit recht die alphabete der meisten sprachen an ihre
    spitze stellen.   — first entry in the Grimms’ Deutsches Wörterbuch

Received on Monday, 10 April 2017 21:43:46 UTC