Hello: I'm looking for suggestion on how I need to get this done.
I have a new project and this is what I need to make happen.
I'm using Mqtt as my communication protocol.
So this is what I'm doing.
I have a job that only runs for 36 hours, during that job I want to collect (to a database - every 2 minutes) and display 2 variables (Pressure, Flow Rate). I can do all this now with my Ignition SCADA Server. BUT I would like to have a web page that my customers can log into and see this live data and I want some type of a TREND for the data being recorded.
MQTT does not really have anything to do with a website.
As far as Node-RED goes, you can tweak settings.js and put a user/pass on the dashboard.
I think most here would recommend a VPN only access for your customers.
If the number of customers is very low, and the dashboard is very simple (caution with the trends), then it should be a pretty quick build using either dash 1 or dash 2 nodes. (Depends on if you need responsive pages or not).
Node RED - is a target for hackers, so please use the strongest/safest methods possible.
If you search these forums - you will find many (unfortunate) stories of Node RED being hacked, and by extension - the systems it is attached to.
Its not a weakness of Node RED - more so the user implementing it, and foolishly exposing it to the public, without implementing the correct security measures.
You could go with a Node-RED provider that has spent the last 3 years developing a secure by default way of hosting node-red. like, for example FlowFuse. Everything is done for you.