LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Secure log file

I'm using CVI8.1. I have a CVI program which logs some very secret data from server to local machine. So I'm looking for a way to secure it. Is there any good idea on it?
 
Thanks!
Jacky
 
0 Kudos
Message 1 of 2
(2,942 Views)

Before thinking to an actual solution you must decide how to handle this problem, since I can figure at least three different approaches to it:

  1. Leave data on the server and read only the portion needed moment by moment never saving anything on local disk
  2. Rely entirely on security and authorization functions the OS can grant you
  3. Write a local encrypted copy of your data on local disk

Regarding option #3 and if you are in Windows environment, you may find useful CryptEncryptMessage and CryptDecryptMessage SDK functions, together with a small tutorial and some example code that can be find in SDK.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,937 Views)