WICG / file-system-access

Expose the file system on the user’s device, so Web apps can interoperate with the user’s native applications.

Home Page:https://wicg.github.io/file-system-access/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permission request for iframe

danqdinh opened this issue · comments

Current condition:

  • handle.queryPermission works in any context
  • handle.requestPermission works in iframe with the same host name with outer window
  • Doesn't work in iframe with different host name with outer window: DOMException: Not allowed to request permissions in this context.

My service, maybe other services too, run in iframe and it needs to access files. Is it possible to lax out, loosen the security about this? coz user has to make a user activation action anyway, so it's acceptable security.

Duplicate of #245.