Question regarding the security of VBA in MDE files.

odin1701

Registered User.
Local time
Today, 13:02
Joined
Dec 6, 2006
Messages
526
Okay I know that even with a password protected MDE, programs exist which can reconstruct the VBA.

My question is that if I define a global constant in the code - can that be pulled out?

The reason I am asking is that I am working on some encryption in order to store sensitive information in a database.

Currently I have a passphrase stored as a global constant so that I can access it from any module or object. This passphrase is used in the encryption process, and with that it would be easier to decrypt.

Now, an obvious answer to this is to require a user to enter the passphrase on startup and store it temporarily. That's just not going to happen though - in order for strong encryption a long passphrase is necessary. There is no way people are going to type it in, let alone memorize it. It would just end up written on paper taped under keyboards, etc.

My objective is to make this data as secure as possible while still being user friendly.

Obviously, if someone got just the MDE file, that wouldn't do them any good without the data file. The data file will be in a secured folder on the network where only say 5 people in the whole company will have access to. So overall I think I'm pretty secure, but just curious what can be pulled out of an MDE.
 
Personally, I would move to either SQL Server or SQL Server Express if you want good security.
 
I agree with Bob.
 
i am sure users wouldnt find a passphrase in a mde file, especially if its encrypted in some way - try opening a mde with a hex viewer and see if anything makes sense
 
In today's world it is possible to break the security on any computer file if you want to badly enough. It's just that some take longer than others.
 
We have a SQL server, but due to corporate red tape I can't put this in it.
 

Users who are viewing this thread

Back
Top Bottom