Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Macro Project Passwording

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Let2Editor - 10 Dec 2004 11:38 GMT
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.
Jonathan West - 10 Dec 2004 14:14 GMT
> Everyone knows that it is easy to crack a password protecting a VBA
> project
[quoted text clipped - 5 lines]
> 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.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.