01-23-2014 04:05 PM
I have a security question.
Is it possible for labview to read/write into a .CSV file only and make it not applicable to the user?
for instant, labview writes to file OUTPUT.CSV,
my current system, on windows xp, i can go to output.csv and use notepad/excel to read/write and save output.csv data.
i want to make it not accessible to write or modify output.csv (ONLY POSSIBLE IF DONE USING LABVIEW PROGRAM).
how would i do something like that?
thanks in advance.
01-23-2014 04:09 PM
I am just starting, but I came across a get attributes function. I presume there is a set attributes function for hidden or read only access. But users with administrative privilages will just right click on the file and change the attribute back. It depends on what security level you need.
I have heard there was file encryption options as well.
Good luck.
01-23-2014 04:13 PM
I am running on Labview 7.0
01-23-2014 04:33 PM
I am not sure if you can do that. What makes this file so important? What does it do?
Depending on the reason you want to do this there might be a different/better soloution. Maybe save the file as binary and if it was opened it would not be easy to read. Or save the file in a location that has nothing to do with LabVIEW?
Under File I/O >> Advanced, There is a VI called Access Rights that you might be able to use.
01-23-2014 08:43 PM
Or you could use some encryption/decryption algorithms to save the file. It won't be a .CSV, but why would you want to save it as a CSV if you don't ever want any to be able to read it outside of LabVIEW?
01-23-2014 09:43 PM