Restful authentication between two GAE apps.

Posted by user259349 on Stack Overflow See other posts from Stack Overflow or by user259349
Published on 2010-03-24T15:57:54Z Indexed on 2010/03/28 9:13 UTC
Read the original article Hit count: 444

Hello everyone, i am trying to write a restful google app engine application (python) that accepts requests only from another GAE that i wrote. I dont like any of the ways that i thought of to get this done, please advice if you know of something better than:

  • Get SSL setup, and simply add the credentials on the request that my consuming app will send. I dont like it cause SSL will slow things down.

  • Security by obsecurity. Add a random number in my request that is in Xmod0, where X is a secret number that both applications know. I just,,,, dont like this.

  • Check the HTTP header to see where is the request coming from. This option is the one that i hate the least, not alot of processing, and spoofing an HTTP request is not really worth it, for my application's data.

Is there any other clean solution for this?

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about python