How to set h2 user and password for each node


(Steve Xiao) #1

Hi
I am trying the official cordapp-example. I found the h2 database for each node can be access from remote without password(default username sa). It is unsafe.

So I want to know how to set h2 user and password for each node?

Thanks

Steve


(Jiachuan Li) #2

I would like to add another question regarding the password, is there a way to encrypt the password in Corda code to make it more secure? Any existing function provided from Corda core code? Thanks.