isladogs
MVP / VIP
- Local time
- Today, 13:12
- Joined
- Jan 14, 2017
- Messages
- 18,585
I’ve been going on about security in Access databases for some time.
Whilst there are many things that developers can do to improve the security of their applications (both design & data), no Access database can EVER be made 100% secure.
A capable and determined hacker can break any Access database given sufficient time and determination.
Recently, I’ve also stated on more than one occasion that the older MDB / MDE file format is FAR LESS secure than the newer ACCDB / ACCDE format.
Whilst this is hardly news to many developers, I’ve had a few requests to provide more details to justify this statement
Attached is an article in PDF format (zipped) summarising the results of several simple tests I ran using a hex editor to view a variety of files.
The files are also attached if anyone wishes to repeat the tests
a) MDB.zip - Access 2003 MDB / MDE files with/without password protection
b) ACCDB.zip - Access 2010 ACCDB / ACCDE files again with/without password protection
In each case, the BE file has the password dinsdale. It contains 1 table with 2 records
The FE files are linked to this table. Where FE files have a password, this is MDS
In summary, for MDB/MDE files:
a) the password in a BE file can easily be read from the FE using a hex editor even if the FE is password protected.
b) the linked table fields & data can also be read even if the FE is password protected
For ACCDB/ACCDE files:
a) the password, linked table fields & data in a BE file can also be read from the FE using a hex editor UNLESS the FE file is encrypted with a password.
b) if the FE is password protected, the whole file is encrypted so nothing can be read by this method
I would appreciate any feedback on this article
Whilst there are many things that developers can do to improve the security of their applications (both design & data), no Access database can EVER be made 100% secure.
A capable and determined hacker can break any Access database given sufficient time and determination.
Recently, I’ve also stated on more than one occasion that the older MDB / MDE file format is FAR LESS secure than the newer ACCDB / ACCDE format.
Whilst this is hardly news to many developers, I’ve had a few requests to provide more details to justify this statement
Attached is an article in PDF format (zipped) summarising the results of several simple tests I ran using a hex editor to view a variety of files.
The files are also attached if anyone wishes to repeat the tests
a) MDB.zip - Access 2003 MDB / MDE files with/without password protection
b) ACCDB.zip - Access 2010 ACCDB / ACCDE files again with/without password protection
In each case, the BE file has the password dinsdale. It contains 1 table with 2 records
The FE files are linked to this table. Where FE files have a password, this is MDS
In summary, for MDB/MDE files:
a) the password in a BE file can easily be read from the FE using a hex editor even if the FE is password protected.
b) the linked table fields & data can also be read even if the FE is password protected
For ACCDB/ACCDE files:
a) the password, linked table fields & data in a BE file can also be read from the FE using a hex editor UNLESS the FE file is encrypted with a password.
b) if the FE is password protected, the whole file is encrypted so nothing can be read by this method
I would appreciate any feedback on this article
Attachments
Last edited: