Jackcess Encrypt
Jackcess Encrypt is an extension library for the Jackcess project
which implements support for some forms of Microsoft Access and
Microsoft Money encryption. Jackcess Encrypt is licensed under the
GNU Lesser General Public License.
This project is separate from the main Jackcess project for two main
reasons:
- The encryption support requires an additional library (Bouncy Castle).
Making this support separate from the main Jackcess library
allows users to avoid including unnecessary libraries.
- Sourceforge has restrictions
on the distribution of software which use encryption. Keeping
this support in a separate project allows the main Jackcess
library to be distributed more freely.
Sample code
This project's encryption support can be utilized by providing a
CryptCodecProvider when opening an Access Database.
- Open a Database with normal Jet file encoding:
Database db = Database.open(myDbFile, true, true, null, null, new CryptCodecProvider());
- Open a Database with an encoding which requires a password to
decode:
Database db = Database.open(myDbFile, true, true, null, null, new CryptCodecProvider("MyDbPassword"));