Protecting or Encrypting written source code in C, C++, bash and csh

Ive written several programs in c, c++, bash and csh (although last 2 are shell languages) ...
That need protection ...
Looking for program or programs (with GUI interfaces preferably) on which I can code in C, C++ (and bash,csh)...
compile and execute my codes ... and once Ive closed the program-interface ... no-one can access my source
codes without the appropriate encryption password... Presently running linux RedHat 9.0 ...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Why don't you set up a CVS repository that is password protected.  Only users belonging to your group would have access to the source code.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I understand you want to encrypt your source code so no one,
not the admin nor hacker, gets to your code.

you can do it by zipping and encrypting the whole directory:
    zip -r -e source source   # creates
and then deleting it
    rm -rf source  # removes directory source
later unzipping it
    unzip -u source source  # unpack, don't overwrite newer files

consider backing up and donÄt forget the password! :-)

you can do that with gpg (The GNU Privacy Guard,,
or some other encrypting tool.

for more convenient access, you'd have to set up an encrypted volume
look for CFS and others in

don't let them see your data! ;-)
who thinks a certain level of paranoia is a part of the job :-)
PS: if you think the admin and the hacker are one person,
then you'll also need to wipe the data before deleting. :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.