2015-06-22 12 views

risposta

8

Non ha riconosciuto che questa è la risposta. Primo colpo di Google. https://github.com/Jabbslad/basic-auth

EDIT:

In realtà molto semplice.

Aggiungere il pacchetto.

meteor add jabbslad:basic-auth 

aggiungere questo codice nel codice lato server

var basicAuth = new HttpBasicAuth("guest", "password"); 
basicAuth.protect(); 

ci sono alcune altre opzioni si può vedere nel repository readme.md