简体   繁体   中英

allow php software run in not more than 3 computes

I developed an inventory software in raw php. This is to be downloaded by the clients. And they will install xampp and use the software by placing the folder inside htdocs. Now, I am stuck in one section. I want downloaded software would be run on one computer only (maximum on 3 computers). Is there any way in php to protect the software run in more than 3 computers?

one centralized mysql server where you keep track of who is running the software, session ids, or username/password, but this really is no solution, because if the users have access to the php code, they can always modify it. You can obfuscate it of course, no idea how secure that is.. the best solution, sign contracts with the companies and monitor the database and php files for tempering. + licensing the software.

In the beginning the software may not be usable until the user activates it. The activation can be done through a web service. Once the software is activated your customers can start using it. The service can keep track of how many activations are made per customer (one per computer). Once the threshold is reached you will not allow further activations.

Keep in mind that clients will be able to change your code if they hire a PHP programmer. So you still need proper licensing as the others suggested.

It would be way better if you had one single instance of the software per client and users just connect to it through a browser. No matter if it's on your server, their in-house server or some 3rd party server that you manage.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM