Skip to content

Conversation

@mingyc
Copy link
Contributor

@mingyc mingyc commented Jul 29, 2025

The File System Access API defines two access modes for file system entries: "read" and "readwrite". These modes are used when querying or requesting permission to an entry.

An issue with the current model is that operations requiring only file system modification, such as FileSystemHandle.remove(), are forced to request broad "readwrite" permission. This behavior poses some unnecessary security risks. Add a new "write"-only access mode and adjust the existing APIs would solve the issue.

This is for #463 and #119.
The explainer for this proposal is in #462.


Preview | Diff

This is for WICG#463 and WICG#119.
The explainer for this proposal is in WICG#462.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants