[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"How to protect the python code"

Thanks Chris.
Makes sense!

-----Original Message-----
From: Chris Angelico <rosuav at>
Sent: Thursday, September 5, 2019 2:34 PM
To: python-list at
Subject: Re: "How to protect the python code"

On Thu, Sep 5, 2019 at 6:50 PM Saba Kauser <skauser at> wrote:
> Hello Experts,
> I am looking for ways available to protect the python source code from being available to users for write/modify.

Run it on a server and don't let them see the source code.

> Is it a good idea to think that python source code can be protected?

Nope. If you're going to ship Python code for people to run on their own systems - or, honestly, *any* code - you should assume that they can read it themselves. The only way is to NOT ship the code, which (in today's world) usually means publishing it as a web app.


Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support:
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences -
Privacy Policy -

This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you.