I am using UCanAccess driver to connect to an MS Access database without security from Knime software. Now, I need to do the same connection but with a MS Access DB (MDB file) secured by a workgroup security file (MDW).
Anyone knows how to do this using UCanAccess? or maybe using another driver?
When I connect to that database from Power BI, I use an odbc connector with the following url
jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\bsc_uob\Indicadores_UOB_cliente.mdb;SystemDB=C:\bsc_uob\Seguridad.mdw;
But i cannot use odbc driver in knime.
I need something similar for UCanAccess. I tried to do this:
jdbc:ucanaccess://C:\bsc_uob\Indicadores_UOB_cliente.mdb;SystemDB=C:\bsc_uob\Seguridad.mdw
But I got this error:
ERROR Database Connector 0:20 Execute failed: Could not create connection to database: Decoding not supported. Please choose a CodecProvider which supports reading the current database encoding.
I don't have Knime, but I was able to apply the following steps to have LibreOffice Base open an Access .mdb file that was protected with user-level security (ULS).
First, I used the instructions here to do a normal setup of UCanAccess and LibreOffice Base. I verified that I could open an Access database file that was not ULS-protected.
Then I added the following three (3) JAR files to the UCanAccess
lib\folder:jackcess-encrypt-2.1.4.jar(available here)bcprov-jdk15on-1.52.jar(available here)CryptCodecOpener.jar(available here)so it contained
Then I added
;jackcessOpener=com.gordthompson.ucanaccess.crypto.CryptCodecOpenerto my connection URL so it becameand I could open a ULS-protected .mdb file.