Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the best default username? #42

Open
tessereth opened this issue Feb 21, 2017 · 0 comments
Open

What's the best default username? #42

tessereth opened this issue Feb 21, 2017 · 0 comments

Comments

@tessereth
Copy link
Contributor

tessereth commented Feb 21, 2017

If the user doesn't provide a custom username, we need to pick one. Some possible options are:

  1. Use a random username. This works fine for mysql and it possibly the best security wise but postgres has permission issues. Unbinding and rebinding will mean your application can't access it's data anymore.
  2. Use the app guid. This means unbinding and rebinding the same application to the database works by default but blue-green does not, and neither does deleting and recreating the app.
  3. Use the instance guid. This means all apps would use the same username by default. This is the easiest usability-wise but the worst security-wise.

Currently we use option 2 but we should discuss this to decide the best way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant