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?
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

705 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