restrict / grant access to a user group to view a web app

55 views
Skip to first unread message

Ella Musina

unread,
Jul 6, 2016, 1:46:51 PM7/6/16
to Google App Engine
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

Nick (Cloud Platform Support)

unread,
Jul 8, 2016, 4:59:55 PM7/8/16
to Google App Engine
Hey Ella,

You could require authentication 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
Reply all
Reply to author
Forward
0 new messages