I have a React/Python application that needs to be licensed before deployment to a customer’s on-prem server. The application should be locked to a specific device, ensuring it cannot be tampered with. The application is divided into tiers, so the client will only have access to the specific modules they have paid for, and other modules will remain non-functional until they upgrade their tier. Additionally, if the user installs the application on a new server, they should be required to re-register the new device, and the old installation should be deactivated. What is the best strategy to implement this licensing and device-locking mechanism to meet these requirements?
I am still in the design phase, trying to find solution to the problem
1