Is possible to secure interaction between Rest api and CouchDB in Hyperledger

I am new in hyperledger technologie. I created a network file (.bna) and deployed this successfully using composer-rest-server command. Also I create CouchDB for every peers in the network. Have any idea about to secure the couchDB from outside attack. And is any way how to secure the interaction between Rest api and couchDB. Please give any idea or some good practice about this security issue.

OS:Ubuntu 16.04

Fabric: 1.1.0

Composer:0.19.16

Node: 8.12

1 answer

  • answered 2018-11-08 09:50 R Thatcher

    Composer does not interact directly with the CouchDB service, only the Peers interact with CouchDB.

    As a minimum you would setup CouchDB to use a complex Admin ID and password (I think the default is NO password), and you would configure your network security such that only the peers can see/connect to the couchDB server.

    This doc gives some more information about using and securing CouchDB with Fabric.