• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Programming > 77. Protect Programming Code from Curious Users

Protect Programming Code from Curious Users

Your code is valuable. Add password protection to your modules.

I think you’ll agree that developed code is valuable, in terms of the time and expense it took to create it as well as what would be involved to recreate it. So, like any valuable asset, a little protection goes a long way. Of course, I would be remiss if I didn’t mention that the first thing you should do is have a backup system in place. But even if you do have a back-up system, if the code in a production system gets trampled somehow, it still costs the company to take down the system to fix the code.

Luckily, there is an easy way to protect your code. This hack prevents all but those who know the password from seeing your code. To add this protection, you must access the Tools Properties menu in the VB editor, as shown in Figure 8-4. In this example, the menu item is Customers Properties because my code project is named Customers. Your menu item will reflect the name of your code project.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint