KF;
First, if possible I'll follow altenbach suggestion. The Configuration File VIs provides you with part of the functionality you need if a key value is missing.
Wihout knowing the purpose of your application is difficult to suggest the right approach. I hope the following guidance can give you a start:
If nobody should know the settings, you should encrypt it.
If there is no problem with people reading the settings, all you want is that nobody can modify them, you need integrity check, which is the checksum you are doing.
If there is no problem with people reading the settings, but for some reasons (here is where understanding your application is important) just an integrity check is not enough, you need to sign it.
If modification of the set
tings has serious consequences (again, understanding your application is important), you need to incorporate robust error handling.
The right mechanisms depends on your application.
Regards;
Enrique Vargas
www.visecurity.com
www.vartortech.com