Hey Ella, You could require authentication <https://cloud.google.com/appengine/docs/python/config/appref#handlers_login> for all routes on the app, and inspect the user's domain in each request, sending an error, failing silently, or redirecting to the login page if the domain doesn't match. This will be relatively cheap since the user's authentication information is provided in a header with each request.
There's also the possibility of setting your app's authentication to Google Apps domain. This can be found in the “app engine > settings” section of the developers console, although I'm not sure if this will work with domain aliases. Let me know if you have any further questions and I'll be happy to assist. Cheers! Nick Cloud Platform Community Support On Wednesday, July 6, 2016 at 1:46:51 PM UTC-4, Ella Musina wrote: > > Hi, > I have been tasked to restrict / grant access for viewing a website that > is hosted on AppEngine. The group is an alias google group that is allowed > to view and the rest should not. Is there a way to do this with AppEngine? > > Thanks! > Ella > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/452a2d1a-e18d-47a6-a823-7f23892de445%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
