# Custom middleware on dashboard nodes?

**URL:** <https://discourse.nodered.org/t/custom-middleware-on-dashboard-nodes/35041>\
**Category:** Dashboard\
**Created:** [29 October 2020 20:54 UTC](https://discourse.nodered.org/t/custom-middleware-on-dashboard-nodes/35041 "2020-10-29T20:54:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stwissel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stwissel/32/126_2.png) [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Post date:** [29 October 2020 20:54 UTC](https://discourse.nodered.org/t/custom-middleware-on-dashboard-nodes/35041/1 "2020-10-29T20:54:53Z")

</div>

The security documentation mentions [Custom Middleware](https://nodered.org/docs/user-guide/runtime/securing-node-red#http-node-security). For http-in nodes it works as advertised. However I'd like to use it for dashboard access too.

What do I need to do? From a first view the potential option is to embed NodeRED and use standard Express middleware. Is that feasible or is there a better option?

---

<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:** [29 October 2020 21:40 UTC](https://discourse.nodered.org/t/custom-middleware-on-dashboard-nodes/35041/2 "2020-10-29T21:40:16Z")

</div>

> [@Stwissel](#):
>
> From a first view the potential option is to embed NodeRED and use standard Express middleware. Is that feasible

That is certainly feasible yes.

You could also look at uibuilder's security branch. Though I've been struggling with the time to try and finish it off.

---

<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:** [28 November 2020 21:40 UTC](https://discourse.nodered.org/t/custom-middleware-on-dashboard-nodes/35041/3 "2020-11-28T21:40:25Z")

</div>

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