fischadler
Programmer
Hi,
I have been looking through the threads to find a solution for my problem, but although I found others that had the same problem, I found the answers inconclusive.
I have a password protected Access DB but as many people know this protection is next to useless.
I was thinking of using an XOR and base 64 based encryption method to encode the data before it is saved to the database and then decrypt it when displaying it in my app. The problem with that is that filtering and sorting of the recordsets won't work. I access the file everytime I need to read or write data. I don't use the "save the database to memory" approach firstly because I don't know how and secondly because there might be multiple users on a network accessing the same DB file simultaneously.
Basically I simply need to make the database unreadable unless accessed through my app. I'de rather not use whole file encryption because:
1) some databases are quite large and would make loading the app a pain
2) a database could be copied after the file is decrypted at startup and before it is re-encrypted at the end of the app
3) if the program crashes the data would remain un-encrypted and available
4) I'm not sure about this but it seems there is danger of losing all the data if somehow the encryption/decryption process is interrupted.
Any ideas?
-Fischadler
I have been looking through the threads to find a solution for my problem, but although I found others that had the same problem, I found the answers inconclusive.
I have a password protected Access DB but as many people know this protection is next to useless.
I was thinking of using an XOR and base 64 based encryption method to encode the data before it is saved to the database and then decrypt it when displaying it in my app. The problem with that is that filtering and sorting of the recordsets won't work. I access the file everytime I need to read or write data. I don't use the "save the database to memory" approach firstly because I don't know how and secondly because there might be multiple users on a network accessing the same DB file simultaneously.
Basically I simply need to make the database unreadable unless accessed through my app. I'de rather not use whole file encryption because:
1) some databases are quite large and would make loading the app a pain
2) a database could be copied after the file is decrypted at startup and before it is re-encrypted at the end of the app
3) if the program crashes the data would remain un-encrypted and available
4) I'm not sure about this but it seems there is danger of losing all the data if somehow the encryption/decryption process is interrupted.
Any ideas?
-Fischadler