program deployment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stephen Eilert

    #16
    Re: program deployment


    king kikapu wrote:
    Ok, i got the point...Things are a little bit different on the other
    way of the fence (Microsoft way...) and so many of Python's elements
    are a little (at least) strange at first...
    >
    But hey, thank you all!
    Not really!

    Of course you do not distribute .cs (or .vb) files when deploying your
    application, but decompilers for .NET are plenty. Same for Java.

    For C and the like, it is a little trickier, but the "decompiler " can
    and will produce equivalent code. Better yet, just disassemble it.

    What is done nowadays to make people's life harder (as in, they cannot
    just copy and paste code) is to use an obfuscator. Are there any for
    Python?

    This is completely and utterly useless for passwords, though. If you
    need to protect something, encrypt it. If it is on a server, you can
    control access to the file via filesystem permissions.

    Do not expect to keep the password secret if you are distributing it,
    though :) I've cracked C programs, Clipper and Java almost
    effortlessly. They were all custom programs where the sole developer
    would put a password for administrative functions, just to be able to
    charge money long after it was deployed.


    Stephen

    Comment

    • king kikapu

      #17
      Re: program deployment


      Of course you do not distribute .cs (or .vb) files when deploying your
      application, but decompilers for .NET are plenty. Same for Java.
      Yes, but in .Net we have some strong dotfuscators that makes reverse
      engineer really difficult.
      In any way, it is not so easy to get to the source as .py files is.

      Comment

      • Steven D'Aprano

        #18
        Re: program deployment

        On Fri, 05 Jan 2007 08:01:17 -0800, Michele Simionato wrote:
        king kikapu wrote:
        Are they embarassed by their code?
        >>
        >hehehe...no, just worried about stealing their ideas...
        >
        I believe that shipping just the bytecode is a pretty effective way to
        stop 99% of programmers from
        reading your code. Yes, in theory they could decompile it, but in
        practice, programmers are lazy.
        99% of programmers won't read the code if you ship the source.
        Look, I am so lazy that usually I don't read the source code, even if
        it is there in plain!
        Exactly.



        --
        Steven.

        Comment

        • Steven D'Aprano

          #19
          Re: program deployment

          On Fri, 05 Jan 2007 07:19:37 -0800, king kikapu wrote:
          >
          >
          Are they embarassed by their code?
          >
          hehehe...no, just worried about stealing their ideas...
          I don't understand... how can they steal an idea? If somebody copies your
          idea, you've still got it, it's not gone.

          --
          Steven.

          Comment

          • Jorgen Grahn

            #20
            Re: program deployment

            On Fri, 05 Jan 2007 15:16:09 -0000, Grant Edwards <grante@visi.co mwrote:
            On 2007-01-05, king kikapu <aboudouvas@pan afonet.grwrote:
            >
            >>Python code is normally deployed as straight source code.
            >>
            >But isn't this a problem of its own? I mean, many people do not feel
            >good if the know that their source code is lying around on other
            >machines...
            >
            Are they embarassed by their code?
            For companies, that may be one reason. For many companies, rightly so ...

            /Jorgen

            --
            // Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
            \X/ snipabacken.dyn dns.org R'lyeh wgah'nagl fhtagn!

            Comment

            Working...