Hi Ruoshui,
You're app can use "https" regardless of whether or not you use any type of
login authentication. "https" causes the http data transmission to be
encrypted, it doesn't have anything to do with actually logging in to your
app or not. So, when your python app makes the "http" request, replace it
with an "https" url instead. If in addition, you want to make sure that your
client-side app is the only one sending data to it just as a precaution then
just add a "password/identifier" to the request that the server validates
and have some mechanism to change this on both the client and server side,
but it doesn't sound like that is even necessary from what your saying, the
company just doesn't want the data sent over the internet in plain text. You
can check that requests are being sent over https by checking the Quota
Details page once you've  made the changes to your client-side app. You
could also add to your request handlers on the server-side that any
communication that isn't https be rejected as a further precaution.

Stephen
CortexConnect
cortexconnect.appspot.com


On Thu, Jul 28, 2011 at 4:35 AM, liu <[email protected]> wrote:

> Hi all,
>
> Currently, we are deploying a wireless sensor network at one of
> international leading semiconductor companies in UK to monitor the
> efficiency of their facilities. We are building a non web based python
> application which is residing on GAE. The situation is this:
>
> I have built another non web based python application on a remote PC
> to gather the data from the wireless sensor network and send those
> information via https to the python application on GAE, and put them
> into the google data store.
>
> Our customer require the https for the data communication. My current
> strategy is using what GAE suggests "login" and "secure" features
> enables in app.yaml file, but I think this is for the web based
> application authentication, is that right?
>
> The question is I have no problem for sending data from python app at
> PC end to GAE without authentication, but if this is enabled, the
> python can't be able to send data to GAE even I logged in using admin
> account in the web browser. So I think logging in from web using my
> Google account will enable the non web based python application to be
> authorised for data communication over https. Am I right?
>
> I have looked at OAuth, but it seems to me I still need to do the web
> sign-in before the data consumer app can act on behalf of users. In
> addition, my understanding is that the data consumer app is also web
> based.
>
> Can anyone make some suggestions for our specific situation please?
> How to make the auto sign-in for the data communication over https
> between two non web based python apps?
>
> Thank you very much.
>
> Best regards,
>
> Ruoshui
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to