How to create and mount a volume in Qt -
my application client desktop app connects database server. app document management system allows user store files such .pdf .xlsx etc in database , keeps track of versions of documents. user can "check in" , "check out" documents. when user checks out file, downloaded database , copied user's hard drive. user accesses file, edits, , checks database. inside database, file stored in compressed, encrypted , base64 encoded form in text field.
my objective ensure when file copied user's hard drive, encrypted, still allow user easy access it. best way visualize want consider how truecrypt works - allows user create encrypted binary file can mounted drive. example on windows, drive letter assigned volume , user can access files via computer example.
my app uses botan library encryption.
is possible achieve similar qt? if so, how? if not, recommend?
many thanks.
well, think talking reasonable requires 'core design' thoughts before going on technical details , possible solutions.
as far understood things looks that:
<---> <----> <----> <3rd party apps>
then file goes file system database encrypt using algorithm. file goes db file system should available 3rd party software modifications...
and thats main point comes.. need have encryption on hard drive? before go further implementation think should specify trying achieve. 3rd party software has access unencrypted data, means other software installed on os has same level of access it. (while writing thinking weird configurations example open office can run application under user (linux), while folder files stored has read/write owner access, think can go far).. anyway.. question - want prevent... believe thing can think of in proposed situation it's access data when hard drive physically unplugged.. depending on operation system suggest use standard solution truecrypt , use either 'mount' system call on linux or api on win32 (most of solutions has either api or command line utilities available can run application). it's pretty easy achievable.
Comments
Post a Comment