Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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?

share|improve this question
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 '12 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... –  Robert Koritnik Mar 14 '12 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. –  Robert Koritnik Mar 14 '12 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. –  Feral Oink Aug 1 '13 at 3:47

1 Answer 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.

share|improve this answer
    
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. –  Robert Koritnik Mar 29 '12 at 8:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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