Using couchnode, the example shows that to access a bucket you just do :
var couchbase = require(‘couchbase’);
var myCluster = new couchbase.Cluster(‘serverIP:8091’);
This is not secure because anyone who has the server IP can connect to Couchbase.
Coming from mysql, I would set a user and password for the database on the server, then I would have to give a username and password in the client.
Could you explain, or point me to docs where it is explained, how to set a password for clusters/buckets in couchbase server, and then how to access them in couchnode? Thanks