My application is a client desktop app that connects to a database server. The app is a document management system that allows the user to store their files such as .pdf .xlsx etc in the database and it keeps track of all versions of the documents. The user can "check in" and "check out" the documents. When the user checks out a file, it is downloaded from the database and copied to the user's hard drive. The user then accesses the file, edits, and checks back into the database. Inside the database, the file is stored in a compressed, encrypted and base64 encoded form in a text field.
My objective is to ensure that when the file is copied to the user's hard drive, that it be encrypted, but still allow the user easy access to it. The best way to visualize what I want is to consider how TrueCrypt works - it allows the user to create an encrypted binary file which can then be mounted as a drive. So for example on Windows, a drive letter will be assigned to the volume and the user can access the files via My Computer for example.
My app uses the Botan library for encryption.
Is it possible to achieve something similar with Qt? If so, how? If not, what do you recommend?
Many thanks.