On Thu, Aug 28, 2014 at 2:36 PM, Mobile Web Dev <[email protected]> wrote:
> Hello, I use google app for business and have a domain setup. I have a > simple (hello world) GAE app running that only allows logins from my domain > and https by default. > > What i'd like to do is forward all http requests from this new GAE site to > a locally running web server and to have the request/responses all funnel > through this new GAE site. I guess you would refer to this as a proxy > setup. > > My plan is to only allow traffic from this new GAE app into this locally > running server by restricting the ip address. > > Can I do this? I'm using python/flask > No, you can't. The IP address that Google App Engine requests come from can change, so when you're forwarding requests from App Engine, the requests will appear to come from numerous different IP addresses. You'd be better off getting a Compute Engine machine and installing your proxy software on that; that way you can whitelist the IP address of that particular machine. Optionally, you can skip the IP restrictions by signing the request. For that, you might be interested in issue 3719: Support SSL Certs In URLFetch <https://code.google.com/p/googleappengine/issues/detail?id=3719>. If you look at comment #11 in that issue, someone seems to have working code for it. ----------------- -Vinny P Technology & Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- 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 http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
