Allowing anonymous access to Google Apps Script we

2019-05-06 12:53发布

I have a spreadsheet in my Google Drive that I would like to share through a web app. I want the script to run as me and allow everyone to access the web app.

When this is done in my personal Google account (non Google App account), I get "Anyone, even anonymous" option under "Who has access to the web app" section in the "Publish as a web app" dialog in the Apps Script editor. And everything works fine.

However when I try to do the same thing in my Google Apps account in my organization, I do not get "Anyone, even anonymous" option under "Who has access to the web app" section. Only options that are presented is "Only myself" & "Anyone within XXXXXXX.com"

Anybody have any idea why this is happening? Is there any security option that I can change in my Google Apps domain?

Thanks

2条回答
Animai°情兽
2楼-- · 2019-05-06 13:14

This setting is controlled by the domain administrator via the "Allow users in [domain] to publish files on the web or make them visible to the world as public or unlisted files" options that's under "Settings for Drive and Docs".

Note that after checking that option, you'll have to create a new Script in order to be able to publish it with "Anonymous" access. Existing scripts don't seem to get that option even after the setting has been changed.

Also note the Google issue tracker for this: https://issuetracker.google.com/issues/36764781

查看更多
SAY GOODBYE
3楼-- · 2019-05-06 13:27

Have you checked with your Google Apps Administrator? They might have enforced a policy that one can not share the docs outside the organization.

Here is the documentation on docs sharing policy. https://support.google.com/a/answer/60781?hl=en

查看更多
登录 后发表回答