Friedrich
Friedrich

Reputation: 645

Python per-seat license protection

I would like to create a per-seat licensevalidator for my python application. The python code is compiled. The goal is to prevent the costumer from sharing the application across his company.

Basic method

Maybe there is already a middleware solution?

Upvotes: 3

Views: 1436

Answers (1)

Mariusz Jamro
Mariusz Jamro

Reputation: 31663

Python is an interpreted language. That means decompiling of your code is always possible and relatively simple to do (using e.g decompyle). And as a result any protection mechanisms you'll implement can be easily turned off. So:

  1. Protecting your code seems like a waste of time
  2. Python seems not the right choice for writing closed-source applications

Upvotes: 5

Related Questions