One of my older Meteor apps uses the jabbslad: basic auth Meteor package to password protect it (it’s an in-house business app for a small business). Tried that package in my new Meteor app with React without success. What’s a simple way to password protect a Meteor app these days?
I suppose a convenient way would be to use a protected route with a pw kept in local storage.
Yes that is a good strategy. Another would be that your layout doesn’t display the page without the user signed in or password being entered. But no matter what make sure that you have the proper authorization on you subscriptions and methods.
Maybe old fasion way can help, I’m still using .htpasswd file with nginx.