Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's no reason a text editor, or most applications really, need unrestricted access to a user's disk. They have to prompt the user with a file open dialog anyway, so you may as well let the OS handle that and pass an fd/handle across the boundary for you.


What if you are using a smart IDE like editor that, for instance, minimizes and concatenates your css and js files?

It’s going to want access to all files in that directory, not only the ones you are editing.


tbh that doesn't sound like a huge problem to solve. Setup some working folders that the PWA has R/W access to and leave it at that.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: