Security

duvenhlc

Registered User.
Local time
Tomorrow, 02:51
Joined
Feb 4, 2008
Messages
54
Hi all out there.

Question: I am looking in protecting my DB with the aid of a dongle. I want to use the dongles serial number (USB drive) as the security device. This number needs to be stored in code and not in a table, it is easy to break into a table and change the serial number to a known one of any USB drive. My idea is to distribute the database on the USB drive and then use it as a dongle. My problem is I can store the serial number manually in code, but then I will need to crate a new installation file for every DB.

The bottom line is, I want the system to search for the serial number (or key) in a stored location when you open the DB, if it is not there it need to retrieve it and then sore it in that location. Once it is stored, one should not be able to detect or delete it.

I need some code to enable me to store the serial number in a module or hidden place and then work from there.

Thanks

Lance
 
Just a curiosity to me. Have you considered storing the serial number in the mdb file and then just reading the serial number from the mdb stored on the "dongle", allowing the program to proceed if the serial numbers in the 2 files match?

Another potential is to write (with VBA) a binary file to your dongle from a (hidden) table in your mdb file. Each time you send out a copy of your application, increment or otherwise change the value in the table. That way, you're assured that the mdb and the binary file are synchronized.

Another is potentially involved and includes finding the hardware ID for the "dongle" device. I just tried looking up the serial number on a device using standard device manager tools and this particular drive doesn't have a unique serial number.

For extra security, you could have an installation procedure that modified BOTH copies of the MDB with a hash of the serial number of the computer or network the mdb is installed on along with your original serial number.

I'm curious to hear how you eventually solve this.
 
you can store the code in registery.
not the best protection but you need to know where to look for.
 

Users who are viewing this thread

Back
Top Bottom