# Secure different dashboard

**URL:** <https://discourse.nodered.org/t/secure-different-dashboard/62550>\
**Category:** Dashboard\
**Created:** [12 May 2022 08:10 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550 "2022-05-12T08:10:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yannf](https://avatars.discourse-cdn.com/v4/letter/y/f17d59/32.png) [@yannf](https://discourse.nodered.org/u/yannf)\
**Post date:** [12 May 2022 08:10 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/1 "2022-05-12T08:10:56Z")

</div>

Dear all,  
Is it possible to add a password only for one tab of the ui ?  
localhost:1880/ui/#!/1 for example  
and not localhost:1880/ui/#!/2  
Regards,

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 May 2022 08:20 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/2 "2022-05-12T08:20:49Z")

</div>

Not really. The tabs are not separate pages, Dashboard is a single-page-app, everything is in a single page. Even if you did add a password to a tab, that isn't a security feature since a knowledgeable user could easily undo it.

---

<div class="post-metadata">

**Author:** ![r0ller](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/r0ller/32/14327_2.png) [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Post date:** [12 May 2022 20:44 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/3 "2022-05-12T20:44:40Z")

</div>

You may try doing it within a node-red flow using the ui\_control node which emits the tab name on tab changes. So you can build a check for the tab names and implement a user/pw check. However, securing the editor (or disabling it completely) is also advisable.

P.S: I recommend using only one ui\_control node for the whole node-red project and build flows for it to handle whatever you want. (This also applies to the inject node when set to be triggered on start up.)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 May 2022 22:01 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/4 "2022-05-12T22:01:48Z")

</div>

> [@r0ller](#):
>
> So you can build a check for the tab names and implement a user/pw check

That is not security. That is merely an sticking plaster. That may be enough in some cases but it is important to realise that it isn't actually secure.

---

<div class="post-metadata">

**Author:** ![r0ller](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/r0ller/32/14327_2.png) [@r0ller](https://discourse.nodered.org/u/r0ller)\
**Post date:** [13 May 2022 06:19 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/5 "2022-05-13T06:19:22Z")

</div>

Yepp, but nothing was told about the level of security required. Judging by the question, it's not set too high.

---

<div class="post-metadata">

**Author:** ![yannf](https://avatars.discourse-cdn.com/v4/letter/y/f17d59/32.png) [@yannf](https://discourse.nodered.org/u/yannf)\
**Post date:** [18 May 2022 13:59 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/6 "2022-05-18T13:59:19Z")

</div>

Dear all,  
I have found a solution by the creation of a second node red on the same machine.  
I communicate by udp between the two interfaces. I have 2 differents ui, with two differents passwords 🙂  
bye

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 June 2022 13:59 UTC](https://discourse.nodered.org/t/secure-different-dashboard/62550/7 "2022-06-01T13:59:57Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
