I have a small amount of structured data and I need to accomplish three tasks:
- Save/retrieve data to/from hard disk or USB pen
- Have a “portable” app (nothing to install on pc other than framework)
- Secure data
Which is the best way to reach my goal?
I think that, beeing structured data, I could/should use a database… but which one?
MySql is free and really fast but needs to be installed… discarded.
MsSql/Oracle have the same problem, so they can’t be used.
Maybe SQLite? Well, this could be a good option: nothing to install, a single file that can be encrypted too using a byte array or a string as password.
And what about XML? It’s easy to use, just a single file that could be encrypted too… but the question is how? Using AES? 3DES? Or simply storing XML stream in a ZIP/7Z file protected with a long password?
I know nothing can be completely sure (today we have GPUs and cloud computing to break protections and passwords), but how can I create a really secure archive easy to use and portable?
Which is the most secure way? Why?
Thanks
XML is a cross-platform, non-proprietary way of storing information. Data stored in XML format can be read by almost any modern operating system, and requires very little software to be stored on the USB drive, and should never require the installation of any 3rd party software. AES is usually secure enough, as long as it’s salted.