Macro Project Passwording

L

Let2Editor

Everyone knows that it is easy to crack a password protecting a VBA project
from prying eyes.

Many password crackers simply delete the password.

Is there any way to check with VBA to see if a password (that is supposed to be
there but was removed) exists? If the password doesn't exist, the program won't
function. Conceivably it can 'kill' itself.

It at least adds a little bit of additional license protection.

Ed.
 
J

Jonathan West

Let2Editor said:
Everyone knows that it is easy to crack a password protecting a VBA
project
from prying eyes.

Many password crackers simply delete the password.

Is there any way to check with VBA to see if a password (that is supposed
to be
there but was removed) exists?


You can check the Protected property of the VBProject object.
If the password doesn't exist, the program won't
function. Conceivably it can 'kill' itself.

It at least adds a little bit of additional license protection.

It adds no protection at all. If the project can be opened without the code
being run, the hacker can then find that extra code and comment it out. All
you are doing is adding a minor additional layer of inconvenience.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top