How to protect my source code?

Posted on 2006-11-03
Last Modified: 2010-04-30

How to prevent others from seeing my source code during the developing of my project? Use VSS or what?

Thank you in advance.
Question by:learn
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 10

Expert Comment

ID: 17871455
You can use VSS but that doesn't stop people from seeing the code on your machine as it keeps a local cache.
Who do you want to keep it from ?

Author Comment

ID: 17871721
Can I set a password so that nobody can read my code except the peoble who know the password?

Author Comment

ID: 17871743
We can do this for VBA code in Excel, why not in VB?
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 10

Expert Comment

ID: 17871801
VSS just makes it readonly,

Author Comment

ID: 17871937
Can we delete the local cache and use the ones inside the database (if only one person developes the project)
LVL 29

Expert Comment

ID: 17872707
You can set up permissions on if your running a NTFS partition. You can deny access to specific file types for example .BAS .VBP .FRM etc. or restrict running visual basic all together.

Control Panel / Administrative Tools / Local Security Settings / Software Restriction policy

Author Comment

ID: 17873178
Thank you. But that is no good to do that for all files in a specific file type.
LVL 76

Expert Comment

ID: 17874301
1. Keep it on an unnetworked PC
2. Don't put it in a shared folder and make sure that you have adequate firewall, spyware and virus protection.
LVL 45

Accepted Solution

aikimark earned 90 total points
ID: 17877299
work from a USB memory device.  If it is water proof, you can hang it around your neck 24 hours a day, even showering with it.  You can buy ones that automatically encrypt the contents and some even provide a biometric fingerprint scanner.
LVL 15

Expert Comment

ID: 17878118
or you could work from a password-protected .ZIP file.
I personally would use the USB drive idea. If you have one that doesn't have password protecting software on it goto

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question