r/GoogleAppsScript • • Apr 17 '25

Question Web App Access

I got the following issue: Days i made a Google apps script deploy as a web app under the conditions: Executed as Me Anyone with a Google Account

And when i provide the link to my colleagues, they need to request access (wich is perfect because the web app can make modifications to 4 different google sheets, so keeps that private). However now all of a sudden, i tried accessing to it with a non authorized account and it lets me without the need to request access, why? (tried with other 3 non authorized accounts and the same happens)

Has this happened to anyone? I check permissions and it is restricted, only to my colleagues, so i don't know why it worked days ago, but not now

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Zealousideal-Age7165 Apr 17 '25

The link to the web app. The one that is like: script.google.com/macros/....../exec

Days ago i shared this same link to my colleagues and i needed to provide access to them. Now, anyone with the link can access. If this is what is supposed to do (assuming for "Anyone with the Google Account") why days ago it was asking for permission?

1

u/HellDuke Apr 17 '25

I don't think the link would end with exec, A deployed web app can be accessed either by only you, anyone who is logged into a Google account or anyone, even people who do not have a Google account. Your colleagues likely were given the link to the actual script code, and that is what you gave them access to. The way it was made, anyone with the link and a Google account can run the script and any changes to the 4 files will show up as YOUR changes.

1

u/jlozada24 Apr 30 '25

They do end with exec