# \[Blog\] Secure your node-RED container using \`htpasswd\`

**URL:** https://discourse.nodered.org/t/blog-secure-your-node-red-container-using-htpasswd/63696
**Category:** Share Your Projects
**Tags:** docker
**Created:** [9 June 2022 21:14 UTC](https://discourse.nodered.org/t/blog-secure-your-node-red-container-using-htpasswd/63696 "2022-06-09T21:14:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://discourse.nodered.org/u/Shan)
#### Post date: [9 June 2022 21:14 UTC](https://discourse.nodered.org/t/blog-secure-your-node-red-container-using-htpasswd/63696/1 "2022-06-09T21:14:44Z")

</div>

I went some deep diving in terms of using the `htpasswd` CLI and one can leverage a nice automated way of generating password for Node-RED admin authorization using bash and tools like `envsubst`.

Although node-RED backend uses `brcypt` for decryption, there were some things that I found out and hope to help the community in their node-RED journeys for security. I am very happy to discuss any suggestions, critiques or improvements. Just like everyone else I am happy to help and learn.

> **[Use \`htpasswd\` to secure your node-RED Container](https://shantanoo-desai.github.io/posts/technology/htpasswd-node-red-docker/)**
>
> Shan's World
