Single database for two diffrent application

35 views
Skip to first unread message

Saurabh S

unread,
Oct 10, 2011, 6:33:39 AM10/10/11
to Google App Engine
Hi , is it possible to have a single database for different
applications deployed on different app-id's in GAE ? if it is possible
then how can we impliment that ?.....one more que : if it is possible
how can a seperate the data betwwen two apps ? i.e. data from one app-
id should not be visible to other one for security reasons....

Simon Knott

unread,
Oct 10, 2011, 6:46:17 AM10/10/11
to google-a...@googlegroups.com
No, this is not currently possible.

ravi teja

unread,
Oct 10, 2011, 11:16:05 AM10/10/11
to google-a...@googlegroups.com
Hi,

    Each entity in a datastore has a unique key which is made up of three parts(appid + kind + id or name) .The appid part in the key of an entity shields it from other apps to access it. So its not possible for an app to access entities of other apps.

regards,
ravi.

On Mon, Oct 10, 2011 at 4:16 PM, Simon Knott <knott...@gmail.com> wrote:
No, this is not currently possible.

--
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/-/Ls3ALzGYAr0J.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Sanjay Menakuru

unread,
Oct 10, 2011, 11:53:51 AM10/10/11
to google-a...@googlegroups.com
Although I think Cloud SQL has looser restrictions.

Sanjay
Reply all
Reply to author
Forward
0 new messages