Print Page | Close Window

Best ways to protect your code?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20245
Printed Date: 30 March 2026 at 9:36am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Best ways to protect your code?
Posted By: iSec
Subject: Best ways to protect your code?
Date Posted: 09 June 2006 at 1:08pm
What is the best way to protect your code? Maybe placing the copyright information somewhere within the code is kind of useless as someone can always steal your open-source code and redistribute it.
Ordering a dedicated server and placing source files on it is also risky as the hosting provider can always get the stuff they want...

What other ways, if any,  are effective to protect your code? I know that generating a key unique to a website's URL is one that would make others hopeless of stealing the code... but that's still not an ultimate solution as parts of the code can still be stolen... I'm talking about big projects being worked on like Voice over IP applications and other stuff we're currently working on.
Any ideas?


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: michael
Date Posted: 09 June 2006 at 1:51pm
Depends on the Language it is written in. There is next to no way to protect uncompiled code.
With any compiled code that could potentially be de-compiled you can at least obfucscate the code to make it close to unreadable.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Mart
Date Posted: 09 June 2006 at 5:45pm
If you want to protect Win32 applications from being disassembled the best way is using PE encryption. Have a google for different PE encryption solutions.
The only way to protect the source code of scripts such as ASP is to write the code you want protected as a COM DLL (in VB, C++ etc) and then use some simple code in the script file that loads the COM DLL and passes control to it.


Posted By: iSec
Date Posted: 14 June 2006 at 4:52am

Guys thank you... this is really helpful...

I think we'll try that COM DLL linking. Thanks again!


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net