[google-appengine] Re: authentication for non web based python apps

2011-07-28 Thread Ernesto Oltra
Stephen said you could use HTTPS no matter what authentication system you have. And he suggested too hard-coding some random string in your client app and in the server; send it with all your request and check it in the server. As long as you keep that string secure, your system would be secur

[google-appengine] Re: authentication for non web based python apps

2011-07-28 Thread liu
Hi Stephen, Thank you very much for you response. Are you saying I just need to use "https" connection in python like following: >>> conn = httplib.HTTPSConnection('.appspot.com') >>> conn.putrequest('POST', '.appspot.com') >>> conn.putheader('Content-Length', str(len(packet_send))) >>> c

[google-appengine] Re: authentication for non web based python apps

2011-07-28 Thread liu
Hi Stephen, Thank you very much for you response. Are you saying I just need to use "https" connection in python like following: >>> conn = httplib.HTTPSConnection('.appspot.com') >>> conn.putrequest('POST', '.appspot.com') >>> conn.putheader('Content-Length', str(len(packet_send))) >>> c