Look for suggestion on file encrytion and database
Hi all,
I am developing a CVI and need to store some critical data (some parameters like device name and some critical constants) to a encrypted file. There are about 100 parameters need to be stored, total size is about 1kb. I was thinking to store them as .ini but those parameters are so critical and I don't want to expose them to the end user. Someone suggests to use database but I didn't have any experience in using database. I check the NI website and seems there is something called SQLTool to access the database, but I really don't understand how to set it up to use the database. I can create a simple Microsoft access database but don't know how to use the SQL Tools to make it work. I am developing the code in my computer but the application will be dispatched to the client and I don't think they have database or Microsoft access installed, so does it mean if I use database and SQL tools, the application can only use in my computer?
Anyway, it seems that I have to configure pretty many stuffs before I can access the database. Is that anyway I open the database as easy as the following way
fopen("mydb.mdb");
If no, what other fire format do you recommend to store some critical data and easy for access in future. I just don't want user to open and modify the file direclty.
I suppose you don't need a full encryption but you only want to make data not easily readable from the end user.
If this is true, organizing data in a struct and dumping it to disk as I described here can be enough to make data opaque to the user, at least for numbers. Texts will remain to be readable with this method: if you need to mask them too you will need some more effort but it can be dome.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Similar Messages
-
i have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??
Hi
Did You ever use - iPhoto ?
Did You may be direct iPhoto to a different Photo Library
As iMovie tries to find the appropriate photo library - it can get lost if iPhoto direct it into a Library on a not connected external hard disk or to a strange location - And iMovie HANGS.
Do - When no other program is running that might interfere
• Start iPhoto - BUT NOW KEEP alt-key (option key) DOWN during the full Start-Up process
• Now iPhoto let's You select Photo Library
• Select the one in Your Account / Home folder / Pictures ! !
• Then iPhoto should start up OK
• Now Quit iPhoto
• START iMovie
Does it still hangs - then I would suspect - iMovie Pref. file
If it Run's OK - Then HURRAY !
Yours Bengt W -
I am looking for a small Dell black and white, laser printer like the Energy Star 1133 that is compatible with my macbook, 10.6.8. I would like to buy a new computer in the near future so would need it to be work on my next computer also. Any suggestions?
MacBook, Mac OS X (10.6.8)I am looking for a small Dell black and white, laser printer like the Energy Star 1133 that is compatible with my macbook, 10.6.8. I would like to buy a new computer in the near future so would need it to be work on my next computer also. Any suggestions?
MacBook, Mac OS X (10.6.8) -
I have a very similar problem in that I changed my appleID loginid and now none of my home shares work (5506) . All itunes have been re-authorized/authenticated with the new appleID string. Yet I still receive this error. I too am looking for suggestions.
If you no longer have the computer(s) you want to deauthorise,
Log in to iTunes, go to "view your account info" on the itunes store, deauthorise all five, (Please Note: this can only be done Once every 12 months) and then re-authorize your current Computer(s) one at a time.
Authorise / Deauthorise About
http://support.apple.com/kb/HT1420 -
What is NetAuthAgent and how can I get it to stop looking for the unnamed file?
Since the last Mountain Lion update on my MacBook Pro, I get this error message every few minutes:
2013-12-16 1:19:04.338 PM NetAuthAgent[1739]:
inErrorInfo = {
AuthType = Server;
ErrorNumber = 45;
ErrorType = 4;
Scheme = file;
How can I get it to stop looking for the unnamed file?
Kat NagelIf streaming music when connected to your carrier's cellular network, it uses cellular data.
Only the music you purchased from the iTunes Store can be streamed unless you have purchased iTunes Match.
If there is a slow down at the server where the music is stored or high traffic, steaming can be paused. You can also download a song from the iTunes Store cloud to your iPhone so it doesn't need to be steamed. -
Problem with my program looking for the settings file in the wrong folder
I have been writing a simple FTP file uploader, what I want to do is be able to select the files I want to upload in windows explorer and then right click and click the menu item and it launches the program and passes the files paths that I have selected to it.
So I use this in the windows registry "C:\Program Files\Java\jre1.6.0_03\bin\java.exe -jar D:\BenFTP\BenFTP.jar %1"
It launches fine and has no problem finding the files I want to upload. The problem is that it tries to look for the settings file in the same folder that the file I am try to upload is in. Which it's not suppose to do since the settings file is in the same folder that the .jar is in.
Edited by: ColNewman on Feb 5, 2008 6:55 PMSo, you're looking for your settings file in your current working directory. There's no way to set the CWD in your registry entry (is there?) so that isn't a practical thing to do. Presumably you're using a File object or a FileReader or something? Can't do that.
One alternative is to look for the settings file in the classpath. You can get a URL to a file in the classpath like this:URL settings = this.getClass().getResource("/settings.xml");Or you can get an InputStream to read the file by using the getResourceAsStream method. You would have to make sure that your executable jar file contained a Class-Path entry that specified the right directory, because the directory the jar is contained in isn't automatically in an executable jar's classpath.
Another alternative is to ask the user where the settings file is supposed to be, and put an entry in the Preferences (java.util.prefs) to remember that location. -
How to look for a certain value in a database using sql
Hello everyone. How do you do this in SQL? Or, is there a way to look for a certain value in a database? What I'm trying to do is this:
I want to look for the exact value "abcdefg" in the database so that oracle will return me details on the following that contains the said value:
1. the name of the table(s)
2. the column/field name(s)
Note: "abcdefg" could exist in different tables with different column names with different data types.
Any help is much appreciated. Thanks.
UPDATE: What about if I just want to check those fields/columns with string data types?
Message was edited by:
dongzky
Message was edited by:
dongzkyJust a teeny tweek
DECLARE
l_dummy VARCHAR2 (4000);
BEGIN
FOR rec IN (SELECT table_name
FROM all_tables)
LOOP
FOR rec2 IN (SELECT column_name
FROM user_tab_cols
WHERE table_name = rec.table_name)
LOOP
BEGIN
EXECUTE IMMEDIATE 'select 1 from '
|| rec.table_name
|| ' where to_char('
|| rec2.column_name
|| ') = ''CAS'' and rownum = 1'
INTO l_dummy;
DBMS_OUTPUT.PUT_LINE (rec.table_name || ' ' || rec2.column_name);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
NULL;
END;
END LOOP;
END LOOP;
END; -
Looking for a plt-file converter to pdf or dwg
looking for a plt-file converter to pdf or dwg
graphic converter used to do it. you can check it out and try before you buy
http://www.lemkesoft.de/en/products/
-mvimp -
I am looking for the image file that is used on the second monitor .
Iam looking for the image file that is used on the second monitor when an app is in full screen mode. not the NSTexturedFullScreenBackgroundColor.png as thats for the fullscreen background generally and not the one for the dashboard eather.
I dont like the gray background on the second monitor that comes up when an app is in fullscreen mode and want to change it.
Any help would be apreciatedi typed in a load of stuff but its not there ill start again
-
Why tomcat is still looking for old jar files?
Please help me it is a very serious problem.
I updated one of the jar files used by the project. I am using a new method that is available only in the new library. I removed the old jar files in my local system, and everything worked fine. Then I commit those files to the subversion, which is in the testing server, and then I created the war file. The war is successfully created, then I deployed to the tomcat. But, now there is an error in the portion I am using the method that is only available in the new jar files.
One of the error when I go to that portion is:
1. No Such Method Exists
The other errors on log files are:
1.
WARNING: Failed to open JAR
java.util.zip.ZipException: No such file or directory
2.
validateJarFile(tomcat/webapps/ROOT/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spe
c 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Please help me, I have tried every other way to solve this. I have tried removing all the old jar files there were, and replacing with the new one. I have tried creating a war file and ftping to the testing server.
I problem is still there and it is because the testing server's tomcat is still looking for old jar files. I used Netbeans and add jar files as usual method.Check the contents of your WAR file that you are deploying on the testing server to see if it contains the JAR that you can't find.
More than likely you are building your WAR file and your new JAR file is not being included in the build. -
i just bought the revolution after having a blackberry and i'm looking for a notepad type software and a place to store passwords.
I use SafeWallet after trying most of the apps in the market place. It's a bit expensive compared to most and you have to pay for the desktop application which sucks but the other apps were some cumbersome I knew I would never use them after the initial setup.
I'll add the normal caution of storing passwords in a non-protected text file but you probably know that
Bob -
Looking for the *.ppd file for an HP P1102w printer (to install in an eCS system (=> OS/2)). (.ppd means
PostScript printer description, applies even if the printer is _not_ postscript.; available for most printers
but isn't on the CD!) Can anyone point me to the file ?
John H. LindsayThe LaserJet P1102 models are 'host-based', which means that they do not understand any of the 'traditional' Page Description Languages (PCL5, PCL6 (a.k.a. PCL XL), PostScript).
So unless your eCS system (whatever that is) has knowledge of the (various) proprietary and model-specific host-based languages, I don't think that a printer description file would help at all. -
can anyone help please.. since iCloud came on the scene My all in one printer keeps saying it is not USB connected. what do I do
I have been looking for over a week now and even chatted with the USA but cannot get it to work.
I am really strugglingThanks
someone named Eloisa she gave me a phone no. or visit hp.com/uk
cannot make head nor tale of it all. I am old. and find everything hard to undertstand -
Does anyone know where I can find the RDF schemas (in RDF/XML format) for the XMP standard schemas?
In particular, the following:
XMP Basic Schema
http://ns.adobe.com/xap/1.0/
XMP Rights Management Schema
http://ns.adobe.com/xap/1.0/rights/
XMP Media Management Schema
http://ns.adobe.com/xap/1.0/mm/
The namespaces currently resolve Adobe XMP homepage. I'm looking for an RDFS file.Hi,
we don't offer mashine readable XMP schema files.
You can find the standard XMP schema information in the XMP specification part 2:
http://www.adobe.com/devnet/xmp/pdfs/XMPSpecificationPart2.pdf
Regards,
Samy -
Looking for a JAR file...
I am looking for the jar file that has the following in it:
com.sapportals.portal.htmlb.page.JSPDynPage;
com.sapportals.portal.htmlb.page.PageProcessorComponent;
Can someone PLEASE PLEASE email it to me?
My email address is [email protected] .
Thank You?I do not have NWDS installed (that is a whole other issue).
But someone did send me the file.
Plus, I already had it but just did not know where to look. Now I know where to look.
Thank you
Maybe you are looking for
-
My printer jammed while printing. I pulled the paper out backwards the way it takes the paper in and since then it hasn't worked. The program told me to replace the printer head but I don't believe this is the issue as this message has now gone away.
-
Word documents won't open in Lion
I installed Lion and now my Word documents won't open. I tried to open them with Pages but that didn't work either. Any suggestions?
-
When you recieve an email from apple saying "welcome to your new mac" what does this mean
hey people i recieved an email saying "welcome to your new mac" i have already got a imac and was wondering if this means someone has purchesed another mac? thanks
-
JFileChooser dialogbox doesn't pop up?!
i am developing an applet, but facing with problems. i have implement Button in the applet to open file of the local system using JFileChooser. i have finally made that not crashing with the applet, but it doesn't open the dialogbox to select the fil
-
Guys, Can someone tell me what will happen if I were to do the rollup without creating aggregates first in and infocube. Thanks, RG.