How to protect Python source from modification

Steven D'Aprano steve at
Tue Sep 13 00:49:04 CEST 2005

On Mon, 12 Sep 2005 08:33:10 -0700, Frank Millman wrote:

> My problem is that, if someone has access to the network and to a
> Python interpreter, they can get hold of a copy of my program and use
> it to knock up their own client program that makes a connection to the
> database. They can then execute any arbitrary SQL command.

Why is that your problem, instead of the company's problem? It is their
database server, yes? If they want to connect to it and execute arbitrary
SQL commands on their own database, (1) who are you to tell them they
can't? and (2) they hardly need your program to do it.


More information about the Python-list mailing list