How secure Node-RED

Hi, please, how secure Node-RED ? I need set password to changing block in UI but for guests is readable

Hello kutilak,

you have to set the username and password in the /home/pi/.node-red/settings.js file.
Please see the documentation
You need to uncomment the adminAuth block.

The password in the setting.js file is hashed, you need to use node-red-admin tool according to the documentation above. Install the tool to your Raspberry Pi by typing:

sudo npm install -g node-red-admin

Then run the tool:

pi@hub:~$ node-red-admin hash-pw

Let us know if you have succeeded.

Hello Martin,
I tried it using your instructions and it works! I just have some errors with permissions during installation node-red-admin, but password generator works.