News for hackers. Stuff that matters.
Re:The Native File System API allows web apps to save direct... by cromwellian on Tuesday September 08, 2020 @11:34PM (#24416768)
BTW, for anyone who has children who are doing distance learning during COVID, the vast majority of school districts are using the Web, not native apps on desktop or iOS for the kids to do collaborative learning and submit work.

From what I've seen, they're basically creating APIs like this that set on top of GDrive, DropBox, and File Upload / Server-directed File-Save. So in essence, all this new API is mostly buying you is offline mode.

Re:The Native File System API allows web apps to save direct... by snvzz on Tuesday September 08, 2020 @11:47PM (#24416860)
>So in essence, all this new API is mostly buying you is offline mode.

There's been, for a long time, local storage APIs.

This is filesystem access, which is very different.

Re:The Native File System API allows web apps to save direct... by im3w1l on Wednesday September 09, 2020 @04:08AM (#24418582)
I think adding a virtual file system to the local storage API's might be fine. One which cannot be mounted easily by non-technical users but has a viewer which allows dragging files into and out of it.
Re:The Native File System API allows web apps to save direct... by lioeters on Wednesday September 09, 2020 @07:01AM (#24419666)
I vaguely recall something like that, a virtual file system using browser local storage. A search yields:

> BrowserFS is an in-browser file system that emulates the Node JS file system API and supports storing and retrieving files from various backends.

https://github.com/jvilk/BrowserFS

It supports storage backends such as: in memory, LocalStorage, IndexDB, HTTP, or the FileSystem API.

Re:The Native File System API allows web apps to save direct... by chromedev on Wednesday September 09, 2020 @01:43AM (#24417596)
Which has policies that can be enabled to block it if necessary
Re:The Native File System API allows web apps to save direct... by snvzz on Wednesday September 09, 2020 @02:22AM (#24417848)
Users click "accept" to make things work.

Filesystem access is going to have nefarious consequences.

Re:The Native File System API allows web apps to save direct... by chromedev on Wednesday September 09, 2020 @04:43AM (#24418804)
That's not how policies work. Schools, organizations and even home users can enable policies to block this feature altogether as well as many others:

https://cloud.google.com/docs/chrome-enterprise/policies/

Re:The Native File System API allows web apps to save direct... by emteycz on Wednesday September 09, 2020 @09:36AM (#24420828)
I'd like to see that ordinary user that is configuring API usage policies on their home network