Connecting Tech Pros Worldwide Forums | Help | Site Map

How can I Encrypt/Obfuscate/Hide my code?

Anil Gupte/iCinema.com
Guest
 
Posts: n/a
#1: Aug 5 '08
Apparently there are plenty of utilities out there that can dissasemble my
progam. My colleague found a progam that could read my exe file and show
all my source code! In any language (even though I wrote it in VB). It is
kinda scary. Interestingly, I had a DLL written for me in VC++, and the
utility could not reverse engineer that.

Is there any way that the code can encryptedd or ofuscated or hidden so
people cannot read the source? I thought there was something built into VS,
but I cannot find it.

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com
www.wizo.tv



rowe_newsgroups
Guest
 
Posts: n/a
#2: Aug 5 '08

re: How can I Encrypt/Obfuscate/Hide my code?


On Aug 5, 5:12*am, "Anil Gupte/iCinema.com" <anil-l...@icinema.com>
wrote:
Quote:
Apparently there are plenty of utilities out there that can dissasemble my
progam. *My colleague found a progam that could read my exe file and show
all my source code! In any language (even though I wrote it in VB). *Itis
kinda scary. *Interestingly, I had a DLL written for me in VC++, and the
utility could not reverse engineer that.
>
Is there any way that the code can encryptedd or ofuscated or hidden so
people cannot read the source? *I thought there was something built into VS,
but I cannot find it.
>
Thanx,
--
Anil Guptewww.keeninc.netwww.icinema.comwww.wizo.tv
Dotfuscator is the built in (sorta) tool you're thinking of, it's
usually under the Tools menu.

But the question you really need to ask is whether or not its a big
deal that people can get a hold of your source code. Even with
obfuscators, your program can still be disassembled with programs such
as Reflector, it'll just be harder to read.

I tend to take the approach Microsoft did with .NET, I leave my code
completely open. You can hit my applications with Reflector just as
easily as you can the core frameworks in .NET. Why? Because nothing I
wrote is so advanced that no one else should know how I created it,
and for the fact that you shouldn't be relying on security
implementations that can be removed if the code was public (security
through obscurity is bad). Of course the fact that I now write code
almost exclusively for web sites means that I don't have much (if any)
of an audience for Reflector users, but I still feel you should try to
obscure your code.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/
Gillard
Guest
 
Posts: n/a
#3: Aug 5 '08

re: How can I Encrypt/Obfuscate/Hide my code?


try this (it is free)

but there is no garantee on the result

http://www.foss.kharkov.ua/g1/projec...t/Default.aspx



"Anil Gupte/iCinema.com" <anil-list@icinema.comwrote in message
news:uMZgEhu9IHA.5684@TK2MSFTNGP05.phx.gbl...
Quote:
Apparently there are plenty of utilities out there that can dissasemble my
progam. My colleague found a progam that could read my exe file and show
all my source code! In any language (even though I wrote it in VB). It is
kinda scary. Interestingly, I had a DLL written for me in VC++, and the
utility could not reverse engineer that.
>
Is there any way that the code can encryptedd or ofuscated or hidden so
people cannot read the source? I thought there was something built into
VS, but I cannot find it.
>
Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com
www.wizo.tv
>
kimiraikkonen
Guest
 
Posts: n/a
#4: Aug 5 '08

re: How can I Encrypt/Obfuscate/Hide my code?


On Aug 5, 12:12 pm, "Anil Gupte/iCinema.com" <anil-l...@icinema.com>
wrote:
Quote:
Apparently there are plenty of utilities out there that can dissasemble my
progam. My colleague found a progam that could read my exe file and show
all my source code! In any language (even though I wrote it in VB). It is
kinda scary. Interestingly, I had a DLL written for me in VC++, and the
utility could not reverse engineer that.
>
Is there any way that the code can encryptedd or ofuscated or hidden so
people cannot read the source? I thought there was something built into VS,
but I cannot find it.
>
Thanx,
--
Anil Guptewww.keeninc.netwww.icinema.comwww.wizo.tv
There may be much techniques, plus this article may arouse an
interest:
http://msdn.microsoft.com/en-us/magazine/cc164058.aspx

Thanks,

Onur Güzel
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#5: Aug 6 '08

re: How can I Encrypt/Obfuscate/Hide my code?


"Anil Gupte/iCinema.com" <anil-list@icinema.comschrieb:
Quote:
Apparently there are plenty of utilities out there that can dissasemble my
progam. My colleague found a progam that could read my exe file and show
all my source code! In any language (even though I wrote it in VB). It is
kinda scary. Interestingly, I had a DLL written for me in VC++, and the
utility could not reverse engineer that.
>
Is there any way that the code can encryptedd or ofuscated or hidden so
people cannot read the source? I thought there was something built into
VS, but I cannot find it.
There are three solutions:

* Obfuscation
* Encryption
* Services

Microsoft's solution:

SLP Services Home
<URL:http://www.microsoft.com/slps/Default.aspx>

You can use obfuscation (VS comes with a cut down version of a commecial
obfuscator) to make reverse engineering harder.

However, this is not a perfect solution. The only 100 % solution is to
place the code on a server you own and expose the functionality via a
service (Web service).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Closed Thread