What is the “Meteor way” for password-protecting a staging version of a meteor app deployed on Galaxy?

What is the “Meteor way” for password-protecting a staging version of a meteor app hosted with Galaxy?

There may be a number of ways to attack this problem, but a very basic (no pun intended) solution would be to use one of the basic-auth packages from atmosphere.

Be careful, though, they are not completely secure and should not be used for cases where you absolutely must make sure the app is in no way accessible without a password.

1 Like

Thanks - that’s just what I was looking for :slight_smile:

Is it sensible to do a DNS redirect when I’m not using my staging and stop the containers? Or is that overkill?

1 Like

Well since you will be paying for those staging containers as long as they are up, then I guess it would not be overkill if the amount of money saved is significant enough in your case.

1 Like