On Wednesday, June 8, 2011 12:20:27 PM UTC+1, Pankaj Chawla wrote:
>
> Thanks I will check it out. After I emailed, I was looking around and found
> tipfy(http://www.tipfy.org/). Its supposedly a framework specifically for 
> GAE
> and it also supports multiple modes of authentication including datastore 
> based.
> Anybody has used it and have good/bad things to say about it.
>
>
I've only heard good things about tipfy - and have it on my "considerations" 
list if I need to open up my authentication models (the guys behind it also 
do a webapp enhancement/replacement called webapp2 that looks interesting if 
you don't need all of tipfy).
 

> BTW, my app on GAE will only be exposing a json based API that will be
> used by a custom client built in Qt for desktop and maybe later a native
> android/iPhone app. Are there any resources out there that talk about this
> especially with respect to authentication, sessions etc as the API 
> should only respond to authenticated users within a specific session.
> I found a few pointers on stackoverflow.com but non that were extensive.
>

This is the core of my app with regards to GAE - I have one page exposed for 
all my ajax calls with "authentication: required" - this page consists of a 
wrapper that checks the current user (as determined by the authentication 
framework/session management) is a proper account on my system (memcache 
memoisation of a datastore table of valid accounts), and then unpacks the 
POST payload to determine the API call and parameters to pass to the 
appropriate module. These modules in turn check the permissions of data 
being read/written depending on the type of call (ie many of my datastore 
objects have an "owner" field of the user object who created them).

--
T

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/b0ZiZEs0RE1hR29K.
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