• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Code Security

Hi ,
How I could protect my  vb.net code from decompiling
2 Solutions
if its being translated into machine code then it cannot be decompiled........   it can however be disassembled and there aint nothin you can do about that.......

although i suppose you could write a compiler that scrambles the code...then inserts a routine to descramble it before execution......

Rich RumbleSecurity SamuraiCommented:
You can see what any code does, Softice will let hackers crack you code for ANYTHING you write. It's just like you can't hide HTML... your browser has to get some information to read in order for you to see, and you can sniff the wire, or view source and see the html. Your processor also has to be sent info, and Softice and other debuggers are just as capable of seeing this as you are to view source. It can be obufscated as stated above, but IF anyone actually want's to see it bad enough, they WILL. There are cleaver tricks of the trade that can be done, some detect Debuggers like softice, and kill the app, that way the code can't be seen, at leaste not very long.... I suggest you read a book like: http://www.amazon.com/exec/obidos/tg/detail/-/1886411794/103-9535620-8397465?v=glance  That book is a great resource. You can also do some searching for packers and compilers that will keep the code safer to the casual hacker...
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.

Join & Write a Comment

Featured Post

The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now