learn-to-send-email-via-google-script-html-no-server icon indicating copy to clipboard operation
learn-to-send-email-via-google-script-html-no-server copied to clipboard

Restrict web app file access

Open julblais opened this issue 1 year ago • 0 comments

When deploying a web app, the authorization dialog requests access to all of the user's documents. This is a very broad permission, especially since anyone can POST to the app.

I added the @OnlyCurrentDoc annotation to restrict access to the current file only.

See documentation here.

Before before After: after

julblais avatar Aug 04 '24 15:08 julblais