From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-16-2011 06:32 AM
Hai
I'm creating a configuraton file via labview in a text file,my customer needs an security for the configuration file ..i have stucked,please help me out ..is it possible to create config file in anyother type of file??
03-17-2011 12:25 AM
You can encrypt the content while writing to configue file and decrypt it whlie reading it back. Refer following.. Also if you want you can hide file.
03-17-2011 10:05 AM
As I recall the book, A Software Engineering Approach To LabVIEW, had a method of generating an encrypted INI file. Basically, the idea was to create a wrapper around the NI INI vi's that would handle the data encryption and reads/writes of the file to disk. You might want to get a copy of that and check it out.
Alternatively, you could use the Windows registry to store protected data.
Jason
03-17-2011 11:24 AM
A more secure method would be to use the Blowfish algorrithm to encrypt the data.
03-18-2011 04:12 AM
Thank your reply,let me try with the algorithm...
03-18-2011 04:13 AM
Thank you sir..i'm trying with this..
03-19-2011 06:47 AM
hello sir
i tried this ..instead of creating an txt file i created an pdf file ..when i tried to open the file it says it is not valid pdf file but this config file is read during the execution and im getting the exact output..
03-19-2011 11:40 AM
@Sumithra Nagappan wrote:
hello sir
i tried this ..instead of creating an txt file i created an pdf file ..when i tried to open the file it says it is not valid pdf file but this config file is read during the execution and im getting the exact output..
Of course you can't open it with a PDF reader. Simply putting a .pdf extension on a file does not mean it is a PDF formatted file. The Blowfish algorithm is used to encrypt and decrypt data. It is not used to create PDF files.