How to protect my code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jurnero
    New Member
    • Aug 2012
    • 32

    How to protect my code?

    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
  • JulsSmile
    New Member
    • May 2012
    • 25

    #2
    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.

    Comment

    • Jurnero
      New Member
      • Aug 2012
      • 32

      #3
      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.

      Comment

      • Revegeny
        New Member
        • Oct 2018
        • 1

        #4
        Try to obfustace it!

        Comment

        • JulsSmile
          New Member
          • May 2012
          • 25

          #5
          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.

          Comment

          • Jurnero
            New Member
            • Aug 2012
            • 32

            #6
            Thanks, I'll look into this tool.
            Thank you all for the answers!

            Comment

            • donbock
              Recognized Expert Top Contributor
              • Mar 2008
              • 2427

              #7
              Can you distribute only the executable code?
              Then you don't have to obfuscate the source code.

              Comment

              • Jurnero
                New Member
                • Aug 2012
                • 32

                #8
                Thanks for your reply. This is a good option. But not exactly what I need

                Comment

                • Nortroms
                  New Member
                  • Jul 2012
                  • 12

                  #9
                  JulsSmile, how does it work? I read, but do not understand completely

                  Comment

                  • JulsSmile
                    New Member
                    • May 2012
                    • 25

                    #10
                    This program uses a virtual machine to convert code. You can read in detail in the official source.

                    Comment

                    • Jurnero
                      New Member
                      • Aug 2012
                      • 32

                      #11
                      Thank you all, the question is closed

                      Comment

                      • JackChen
                        New Member
                        • Oct 2018
                        • 2

                        #12
                        use more private class

                        Comment

                        • Jurnero
                          New Member
                          • Aug 2012
                          • 32

                          #13
                          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

                          Comment

                          Working...