code-gijoe
code-gijoe

Reputation: 7244

How to share data between webapp users over GAE?

I have a webapp deployed on GAE and users can sign-in using OpenID. Once users are signed-in they can access the data store for their own data.

Now, if I want to establish a "shared data space", how can I achieve such a thing? Can I give access to user A to data from user B? We share entities? How can I overcome access restrictions?

Any help on this aspect will be greatly appreciated.


EDIT 1

Not quite the BigTable expert. I'm not looking for magical kingdom solution, just pointer on how to tackle this problem (blog, article, tutorial, etc).

But if I get it right, data is accessible by anyone with access to the application (if access control is available). So if I give the a {KEY, entity} pair to user B from user A he will be able to access it no problem?

Maybe I'm just confusing concepts...

Upvotes: 0

Views: 91

Answers (1)

JB Nizet
JB Nizet

Reputation: 691973

The GAE datastore is a database. Data stored in it is in no way restricted to a single user. BTW, you don't even have to sign in to use a GAE application. Just query for the data you want, and you'll get it, whether the current user stored it or anyone else is irrelevant.

Upvotes: 1

Related Questions