cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to add security and password?

victagayun
Senior III

I plan to show the dashboard via browser to other people, I am afraid they might mess up my flows. Is it possible to add security functionality?

I was trying to comment out as per instructions here:

https://nodered.org/docs/user-guide/runtime/securing-node-red#editor--admin-api-security

but the flows will not show after I enabled

adminAuth

1 ACCEPTED SOLUTION

Accepted Solutions
Richard.Chvr
ST Employee

No update since a while, closing the post.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
stephane.legargeant
ST Employee

Hello

It seems that node-RED need to have a "default" section after the users. Else the design windows may not be displayed. Have you defined one ?

adminAuth: {
    type: "credentials",
    users: [ /*your list of users */ ],
    default: {
        permissions: "read"
    }
}

Can you try ?

Best regards

Stephane

victagayun
Senior III

Thanks for the reply.

Actually, I do not want them to view my flows too.

Yes, I tried that. It is still possible to view / read only the flows.

I was trying to change the root path of the UI from

http://localhost:1880/ui

to, say something like:

http://localhost:1880/dontview

by un-commenting

httpAdminRoot: '/dontview',

I was able to view the new "url" and save the flows but the dashboard wont display the data.

BTW, the Cubemonitor will not show up and display "Error" on it title bar but using the browser, I was able to edit and save the flow.

Only the problem is when I click the dash board, data wont show up especially the line graph.

Gauge seems to display, but I cannot confirm if data is correct as I was concentrating on the line graph.

Richard.Chvr
ST Employee

No update since a while, closing the post.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.