1

I'm creating a really simple Google Site where I would like to share a free but valuable document with people. But I don't simply want to share it. I would like this to follow this process:

  1. user enters their email
  2. email is sent to them with a link
  3. they click a link with file download

This link should of course be dynamically generated if at all possible, otherwise one could share their email with others and others would be able to freely download this file. But I don't want to do that, because I would like to collect a list of potential clients when I publish new files. I'd like to inform them of new content via email so they can get it right away. Whether new files would be free or not depends on file content size...

Anyway.

I wonder whether this can be done? I suspect this is likely impossible directly just by using Google SItes, but can it be done using Google Apps Script that can also be used on them?

4
  • 1
    Don't really know how, but this result I got in a quick search seems to indicate that an app script could modify permissions on a file. So perhaps you could have a form in a worksheet that triggers the script that adds permissions to a document.
    – Zoredache
    Mar 14, 2012 at 0:36
  • @Zoredache: That's an interesting approach. I could always add an additional reader/viewer as long as number of readers/viewers is relatively big (in hundreds at least). FYI: I can see that this number is limited at 200. After you reach this number you can use mailing lists to share with even more... Mar 14, 2012 at 3:13
  • @Zoredache: WHy don't you put your comment into an answer so I can accept it because I think this is as close as possible to what I want and what Google Apps Scripts along with Sites and Docs allow me to do. Mar 14, 2012 at 3:17
  • See this webapps.stackexchange.com/questions/39227/… It is about a folder of documents, not a single document, so it isn't a duplicate of your question. It might be helpful for a single document. Aug 1, 2013 at 3:47

1 Answer 1

1

You may want to consider using the service DropBox instead.

You are really set on Google Sites you create a sub-site with your files set to non public (requires login). yYou have to manually enter who has permissions to view the page however. You can also do page level permissions and select which emails can either view or edit certain pages. You would then upload the Docs you want then link to the doc on the relevant pages

The 3rd option would be to upload them to Google Docs and then enter the email address you want to share the doc with.

Overall, just get a DropBox account.

1
  • But having manual process in this isn't too scalable, is it? I would have to go and add new and new users... And the whole process seems to be too complicated for the end user. Mar 29, 2012 at 8:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.