11-11-2024 08:59 AM
Hi,
as part of my work with the NI CompactRIO (cRIO), I recently decided to add an operating hour timer. Currently, I store the counter in a TDMS file on the cRIO, which works well for tracking purposes. However, there’s a challenge: I need to use WebDAV for user access, but this means others could potentially modify the file.
My initial thought was to create a hybrid system, where the counter writes to the EEPROM every six hours. This way, if there’s an issue, I can cross-check the TDMS file with the EEPROM data and only risk losing a maximum of six hours. Unfortunately, I couldn’t find documentation for modifying EEPROM storage specifically on the cRIO 9066 model.
So now, I’m considering other approaches. Could I achieve this using Linux permissions to restrict access? Or perhaps implement a manipulation-detection system to identify unauthorized changes?
Thanks for any thoughts!
11-11-2024 09:24 AM - edited 11-11-2024 09:29 AM
Outside of using Write Only Memory (that is a joke) I can offer the following possible approaches:
There is no foolproof way to restrict file access. You simply MUST out smart out or outlaw fools.