# Add security to the flow or to a node

**URL:** <https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759>\
**Category:** General\
**Tags:** function-node\
**Created:** [28 July 2022 17:10 UTC](https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759 "2022-07-28T17:10:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsaavedra](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fsaavedra](https://discourse.nodered.org/u/fsaavedra)\
**Post date:** [28 July 2022 17:10 UTC](https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759/1 "2022-07-28T17:10:39Z")

</div>

Good afternoon to all this great community,

Along with the hello, I have the problem of having a flow in which there are nodes that some people have to access, but other nodes that do not, so I would like to hide or secure them.

I would like to know if there is a possibility to hide or secure a flow.

If not, I'd like to add security to a function node or see the possibility of hiding or encrypting it.

Thanks in advance.

Greetings.

---

<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:** [28 July 2022 18:13 UTC](https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759/2 "2022-07-28T18:13:07Z")

</div>

AFAIK, there isn't really any way to secure individual nodes or flows.

You can install some nodes in a way that flow editors cannot delete and you can configure a node-red instance to disallow some specific nodes. You can also add a login to the editor. But that is about it.

I think that the recommendation is to have more than 1 instance of node-red. Use a protected instance to prevent access and expose appropriate API style connections.

---

<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:** [26 September 2022 18:13 UTC](https://discourse.nodered.org/t/add-security-to-the-flow-or-to-a-node/65759/3 "2022-09-26T18:13:50Z")

</div>

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