How to use encryption to SQLite DB in Delphi if i’m using SQLite ODBC Driver.
I must use ADO components for data access.
How to use encryption to SQLite DB in Delphi if i’m using SQLite ODBC
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As I see from ODBC driver source, one of the 2 options:
WITH_SQLITE_DLLSdefined, so it will use sqlite3.dll. Then provide sqlite3.dll compiled withSQLITE_HAS_CODEC.SQLITE_HAS_CODECdefined. Then link SQLite engine statically with ODBC driver.SQLITE_HAS_CODECmeans, that SQLite engine is compiled with build-in codec. By default SQLite has no codec. You can use SQLCipher instead of standard SQLite. Or obtain SQLite with Encryption Extension.Then to connect to encrypted database using ODBC you will need to specify
PWD=xxxin connection string.