Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Google Docs documents can be published on public sites. How does Google know the password to use (to get the document) when all you specify in the HTML is a string like: src="" and no explicit password is used?

share|improve this question
What password are you talking about? The password to your Google account? – Polynomial Jul 5 '12 at 12:30
Yes, I was thinking that google needs an id and a password to grab the document but I was wrong, I think it just uses a document id only. Sorry for your trouble. – NoChance Jul 5 '12 at 12:44
up vote 6 down vote accepted

The document is set as public, so anyone who has the link can view the file.

Google Docs doesn't need to know your password in order to transmit the document to the person requesting it.

If you'd like to protect the document so that only certain people have access, view the document, then click File -> Share.

share|improve this answer
I will give it a try, thanks. – NoChance Jul 5 '12 at 12:46

When docs are set as public. When accessed by non-google account users they will open without requesting a password. For those who do have a google account, if they are not currently logged in then google will prompt them to log in.

THIS IS A PROBLEM. It freaks people out, making them think they need a password to access the document. In some cases a non-google user and a google user may be sharing the same computer or device. The google user logs out. The non-goolge user the can't access the publicly shared document.

share|improve this answer
Thanks for the feedback and the switch computer scenario. – NoChance Jan 10 '14 at 20:32

Your Answer


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.