423,867 Members | 3,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,867 IT Pros & Developers. It's quick & easy.

How to protect my code?

Jurnero
P: 30
Hello!
I would like to know whether to use obfuscator to protect my code. What do you think about it. I have found many opinions here, but they seems outdated
Oct 5 '18 #1

✓ answered by JulsSmile

If you think about obfuscator, you can try ArmDot. It does not use undocumented features. Therefore, you will be deprived of surprises related with this features.

Share this Question
Share on Google+
12 Replies


P: 23
Pasta code is a great obfuscator!
There are simple ways to confuse the code for reading by another programmer. Recently read one of the ways: Break your code into multiple files with as few functions as possible in each. In each file reuse the same variable names, but for utterly different meanings.
You can give variables an unexpected name. This is confusing! But it can be harmful for you too.
But if you want to use obfuscators, be careful. Some obfuscators complicate the subsequent maintenance of the code.
Oct 10 '18 #2

Jurnero
P: 30
I think confusing variable names does not suit me. This will mislead me. The question is not to make the code simply unreadable. And to protect your code from being used by others.
Oct 12 '18 #3

P: 1
Try to obfustace it!
Oct 14 '18 #4

P: 23
If you think about obfuscator, you can try ArmDot. It does not use undocumented features. Therefore, you will be deprived of surprises related with this features.
Oct 15 '18 #5

Jurnero
P: 30
Thanks, I'll look into this tool.
Thank you all for the answers!
Oct 16 '18 #6

Expert 100+
P: 2,385
Can you distribute only the executable code?
Then you don't have to obfuscate the source code.
Oct 16 '18 #7

Jurnero
P: 30
Thanks for your reply. This is a good option. But not exactly what I need
Oct 17 '18 #8

P: 9
JulsSmile, how does it work? I read, but do not understand completely
Oct 19 '18 #9

P: 23
This program uses a virtual machine to convert code. You can read in detail in the official source.
Oct 23 '18 #10

Jurnero
P: 30
Thank you all, the question is closed
Oct 30 '18 #11

P: 2
use more private class
Oct 31 '18 #12

Jurnero
P: 30
Thank. It is reasonable! I think it can help to some extent.
Although I think this is not enough to protect the program or game from hacking
5 Days Ago #13

Post your reply

Sign in to post your reply or Sign up for a free account.