I donโt understand what is the answer. The first hit by Google. https://github.com/Jabbslad/basic-auth
EDIT:
Actually very simple.
Add a package.
meteor add jabbslad:basic-auth
add this code to serveride code
var basicAuth = new HttpBasicAuth("guest", "password"); basicAuth.protect();
In the repository, you can find several readme.md parameters
source share