Looks like it’s just:
- Page prompts user for write access to directory
- User grants access
- …
- Shocked Pikachu when page overwrites files
The proper fix here IMO is to not let the user grant write or read access to an entire directory, only the files the page needs. Ideally, the only way a page could get write access to a directory is if the page owns the directory (i.e. the browser creates it for them and the user copies files into it).
Spendrill@lemm.ee 6 months ago
Oh dear. How sad. Never mind.