I'm writing a software for periodically checking a specific range of networked devices' reach-ability. I'm specifying the address range and the time frequency for checking their reachability, in an xml file. Which technique can I use to check that xml file during the start up of the program for any modifications done in either the range or the frequency and do the necessary update in specific database?
I´m not an expert in that topic. Maybe you can compute a hash of the file everytime you change the configuration and store it somewhere, and if you start your program you compute the hash again and compare it to the stored hash value. If you do it like that, everybody can look at the configuration file, but if anything was changed you will notice it. The question is then where to store the computed hash. This depends on the security you need.