#How to secure username and password for authenticating database

2 messages · Page 1 of 1 (latest)

elfin mortar
#

I am using CouchDB for setting and retrieving data from the user. But in the js file I am authenticating the database with my username and password and also I want to secure it so that no one else can see my password and username. I am new to .dotenv, so can anyone tell me how to do that.

unique parcel
#

if you want to secure a password you need to hash it