我做了个软件,想用激活码方式授权,有些只想授权1个星期,光是授权的话,用MD5做加密的,但是怎么让激活码带着授权时间让程序识别呢?
请教大神们
巴扎黑2017-04-18 10:31:43
Generate an account for the client. The client needs to verify with the server every time it uses it, and the server will determine whether it has expired. Of course, communication data needs to be encrypted, which is currently a safer approach.
PHP中文网2017-04-18 10:31:43
There is basically no solution for the client. Users can modify the system time or even throw it into a virtual machine and run it.
Use the server to verify.