2 ms·
I think there is a pretty secure approach of doing it. 1) When loading a file, nothing needs to be different from the already available upload functionality. T
by mg 3y ago
I think there is a pretty secure approach of doing it.
1) When loading a file, nothing needs to be different from the already available upload functionality. The user picks the file to load.
2) When saving a new file, nothing needs to be different from the already available download functionality. The user picks the name and the place to save it.
Only after 1 or 2 have already happened can the page request to update the file. With the same name and location. In this case, the user gets a prompt that explains the risks and asks the them to confirm the update.
- madeofpalk 3y agoYup - As commented in 2021 a 'Save As' API was seen as reasonable by Mozilla. I'm not sure what progress has been on the proposal since then. https://github.com/mozilla/standards-positions/issues/154#issuecomment-863349817 https://github.com/mozilla/standards-positions/issues/154#is...