Associating a Google App Engine user subdomain with a user

I have an application running on GAE and would like to allow the user to use the subdomain on their own google domain (e.g. myapp.example.com) to host their own custom version of my application.

It's easy to add a subdomain ... just add the app by id to your Google app and assign it a custom subdomain.

But since I want to give them the opportunity to customize their site, I want to associate a user subdomain with a user. This becomes a security issue since I don’t know how to associate a person who sets up a custom subdomain with a user registered in my application.

I think I could do this if I joined the application market ( $ 100 ) ... by adding a configuration step in the installation and asking for an administrator user. Has anyone done this? Do I need to be part of the market?

I can also ask the administrator to add a TXT record to the DNS domain and verify that she did (just like Google checks domains). This needs to be done outside of GAE because the GAE API does not support DNS queries .

Please note that I can’t just agree on the end of the domain in the user’s login, as several users from the same domain (for example, user1@example.comand user2@example.com) can use my application, and I only want to allow the administrator to set the subdomain in order to be able to configure this subdomain.

Has anyone done this? Any solutions?

+3
source share
1 answer

It's complicated. You can use the Marketplace applications, and you are right that this will allow you to request configuration information from administrators before setting it up. This is most likely your best option, and also allows you to expose your application to more users, as well as make it unambiguous.

, . URL- www ( , ). , , , , .

0

All Articles