Google App Engine - one datastore for different domains and apps

前端 未结 5 1770
借酒劲吻你
借酒劲吻你 2020-12-08 16:44

Is that somehow possible to access one datastore? Or access one app from different domains.

5条回答
  •  無奈伤痛
    2020-12-08 16:48

    Every version of an app is backed by the same datastore. If you want to limit access for individual requests, you'll need to add a field to your model to enforce that restriction. There are low level hooks in the datastore API for this sort of thing, if you want to go that far.

    And yes, you can add a single App Engine app to multiple domains - even in multiple Apps accounts.

提交回复
热议问题