Is it possible to create a webapp on Google App Engine which can only be accessed by a single user? I'm thinking of a simple task management app for private usage.
Yes, I've already looked this up on the GAE docs, but I don't really understand what their domain based authentication system means.
If by "single user" you mean only you will ever use the app, the simplest option is to configure the application to do the authentication for you. In python this would be done using the app.yaml file, as shown here. This way you can lock down a number of urls all at the same time. Using the admin option would be appropriate if only you were to be allowed access, and the "required" option would work if you wanted others to be able to log in as well.
Sample of what the yaml would like:
handlers:
- url: /profile/.*
script: user_profile.py
login: required
- url: /admin/.*
script: admin.py
login: admin
- url: /.*
script: welcome.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With