encrypting python modules

Reedick, Andrew jr9445 at ATT.COM
Mon Jan 14 16:20:29 CET 2008

> -----Original Message-----
> From: python-list-bounces+jr9445=att.com at python.org [mailto:python-
> list-bounces+jr9445=att.com at python.org] On Behalf Of Paul Sijben
> Sent: Friday, January 11, 2008 4:45 AM
> To: python-list at python.org
> Subject: encrypting python modules
> The problem: I have a client-server app written in python. I want to
> make sure that the client is not:
> 1) destabilized by users accidentally or on purpose dropping python
> files in the path (after which calling the helpdesk will not be
> 2) extended with "new features" without me knowing about it (again
> resulting in calls to my helpdesk...)

	Would the site module help with that?  It looks like site will
let you put your modules first in sys.path.  Or what about just updating
sys.path as the first action in your program?  

	Or what about pulling clean copies of the files from a
tar/zip/archive before execution?  A shell script creates a temp dir and
extracts the files to the temp dir to run.  Not sure it would do any
good to pull from an encrypted tar/zip/archive.

	Or what about pulling the client files from the server instead
of a tar/zip/archive...?


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA625

More information about the Python-list mailing list