learn-to-send-email-via-google-script-html-no-server
learn-to-send-email-via-google-script-html-no-server copied to clipboard
Restrict web app file access
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
After: