When you create a Google API credential for a web app, you indicate allowed 
Javascript Origins which is just a list of URIs. I'm trying to understand 
what the purpose of these is.

Does this restriction mean any code using my Client ID to access Public 
Google APIs must originate from those sources?  That doesn't seem helpful 
for two reasons:

1)  The first thing I do is add "http://localhost:8080"; so I can run code 
from my development environment but of course every computer self 
identifies as "localhost" so I've effectively negated any security from it.

   1. 
   
   2)  The Client ID is public knowledge (It's in my JS files which are 
   delivered to client devices) and spoofing the origin would be trivial for a 
   malicious actor.
   2. 
   
   Is it just meant as a small hurdle for malicious code to get around and 
   nothing more?
   
Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/038fa960-5886-4bbc-a51f-a5083bf7e9df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to