Run pyc file without specifying python path ?

Grant Edwards invalid at invalid
Thu Jul 30 16:50:47 CEST 2009


On 2009-07-30, Dave Angel <davea at dejaviewphoto.com> wrote:

> Steven makes some good points.  You have to define what level
> of clever you're protecting from.  A determined hacker will
> get in no matter what you do, unless you want to ship the
> program in a proprietary embedded system, encased in epoxy.

That won't stop a dedicated reverse-engineering effort.  It
might take an X-ray machine, machine tools, various nasty
chemicals, and quite a bit of skill and patience -- but it can
be done.

> Further, if you have an extension of .py or .pyc, a
> knowledgeable hacker will know it's probably python.
>
> You imply you want it to run unmodifed on multiple unknown
> Linux versions.  I think that lets out binfmt solutions.  That
> means you need to test and support not only multiple Linux
> implementations, but multiple Python versions, because who
> knows what the user may have installed.  I think you need to
> rethink your support strategy.  And maybe concentrate on being
> able to detect change, rather than prevent it.

Or even being able to benefit from change. :)

-- 
Grant Edwards                   grante             Yow! FROZEN ENTREES may
                                  at               be flung by members of
                               visi.com            opposing SWANSON SECTS ...



More information about the Python-list mailing list