# Encrypting a functional \`\`\`flows.json\`\`\` file

**URL:** <https://discourse.nodered.org/t/encrypting-a-functional-flows-json-file/67156>\
**Category:** General\
**Created:** [30 August 2022 23:46 UTC](https://discourse.nodered.org/t/encrypting-a-functional-flows-json-file/67156 "2022-08-30T23:46:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [31 August 2022 01:23 UTC](https://discourse.nodered.org/t/encrypting-a-functional-flows-json-file/67156/2 "2022-08-31T01:23:08Z")

</div>

You may find some ideas in below posts.

> [@Secure source code file flow.json](https://discourse.nodered.org/t/secure-source-code-file-flow-json/36188):
>
> Hi, we have developed our IoT application on the node red platform. And now we want to deploy the developed application in the client production system. We have enabled HTTPS access and secured the editor by user name and password. So no one from outside can connect to our node red platform. but here the problem is, developed flow\_hostname.json file is present in the local storage on the client production system. i.e. Under .nodered folder. So our client can have the copy of our source file…

> [@Need a means to protect my source code](https://discourse.nodered.org/t/need-a-means-to-protect-my-source-code/7973):
>
> This topic comes up from time-to-time, but I haven't seen a satisfactory answer. I need a way to encrypt the source code on the micro SD card so that the card is useless if someone pulls it out and tries to make off with my IP. Obviously, some type of encryption key would be required by the loader to decrypt flows. Extra credit: Allow the encryption to be applied at the flow or node level. Has any thought been given to such a feature? What are others doing?

---

_[View the full topic](https://discourse.nodered.org/t/encrypting-a-functional-flows-json-file/67156)._
