Word VBA obfuscation?

K

KR

I have a Word VBA project that (by necessity) will be deployed in a single
file. As a result of my user's need for one-file deployment/distribution, I
think that throws out add-in's, DLLs, and most other methods of securing my
code.

While I will use the simple password protection, I was wondering if there
are any cheap (or free, I'm doing this project for a non-profit organization
for free) tools that support obfuscation on Word VBA. I figure that way,
even if someone decides to poke into the VBA using a password cracker, the
code will still be much harder to interpret.

I appreciate any advice or suggestions!
Thanks,
Keith
 
H

Howard Kaikow

Well, if they are getting the project for free, I'd say you have even more
reason to protect your efforts.
Insist on using a VB 6 DLL.

Point out them that the code will also run faster and be secure from
tampering.

It is all too easy to get around the VBA project password "protection".
Takes less than 5 minutes, without a password cracker.

Write code that installs the DLL,
 
M

Marcel

Howard Kaikow said:
Well, if they are getting the project for free, I'd say you have even more
reason to protect your efforts.
Insist on using a VB 6 DLL.

Point out them that the code will also run faster and be secure from
tampering.

It is all too easy to get around the VBA project password "protection".
Takes less than 5 minutes, without a password cracker.

Write code that installs the DLL,

Hi,

How do I create a DLL from a Word VBA project in Word?

Regards,

Marcel
 
M

Marcel

Hi,

I've seen a method in VBA to create a dll can this be used to create such
file?

I have also VB.NET 2003 this can create a dll as well?

Regards,

Marcel
 
H

Howard Kaikow

If you have the developer edition of Office 2000 or Office XP, you can
create a DLL, but IMHO it is easier, and better, to use VB 6.

In .NET, you can compile a .NET DLL, but all you can do is obfuscate, the
code not the same degree of protection as a VB 6 compiled DLL.
 
C

Chris Shelley

When you do comple your application in VB.NET, make sure you compile a
retail version and don't send them the debug version with the .pdb file.
 

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