Willing to protect my flows running on remote RASP - and without a safe method to protect my MicroSD (even if gluing the MicroSD should be a possible solution) - I'm thinking about implementing a simil "self-distruction" procedure (triggered from a msg sent to the Raspberry) in order to avoid other people to take the flow.json/settings.js files that are stored within the MicroSD.
Without a deep knowledge of Node-Red I ask you if it's possible to delete the flows.json file (and the settings.js one) when the same flows - that I want to delete - is running...
In case this should not be possible, an alternative solution should be to launch - from node-red itself - an external script that will stop node-red and then delete the flows.json and the settings.js.
Is it feasible in your opinion? Or are there other valid methods to achieve that?