4

I have created a web site, and i'll publish it...

I wanna know if anyone who get access to my FTP and download my pre-compiled website can "revert" the DLL compilation, and re-create my code behinds!

Is it possible?

If it is possible, how can i protect my code?

renanleandrof
  • 6,699
  • 9
  • 45
  • 67
  • 3
    If someone unauthorized accesses your FTP, I think that the possibility of a hacker decompiling your binaries would be the least of your concerns. – Jamie Treworgy Feb 24 '11 at 17:05

3 Answers3

3

It's possible to decompile your assemblies. There's not an 100% safe way to protect you code. You can obfuscate your assemblies. That will makes it harder, but it's still possible to to get your code.

Community
  • 1
  • 1
Martin Buberl
  • 45,844
  • 25
  • 100
  • 144
3

Yes somebody theoretically could, with tools like Reflector. You should try obfuscation of your code. See: What do you use to protect your .NET code from reverse engineering?

I suggest you try reflector yourself on your own code to see what others could do. It's still a free tool for a few days more...

EDIT

Reflector is no longer free (but still a good tool to have!). In alternative there's the free and open-source ILSpy

Community
  • 1
  • 1
Paolo Falabella
  • 24,914
  • 3
  • 72
  • 86
2

If they access your DLL they can open it using reflector and other tools. You can obfuscate your code to prevent that (actually make it harder, you can't prevent it).

Hide your DLLs well!

anthonyvd
  • 7,329
  • 4
  • 30
  • 51