Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allowing anonymous access to Google Apps Script web app (Google Apps account)

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

like image 705
WebHoundX Avatar asked Apr 08 '14 05:04

WebHoundX


2 Answers

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

like image 110
Waqar Ahmad Avatar answered Sep 22 '22 02:09

Waqar Ahmad


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

like image 20
Stan Avatar answered Sep 18 '22 02:09

Stan