nimasdj — 2014-02-28T18:46:43-05:00 — #1
I created a remote license for my product, users should downliad the key from user account. But I prefer a remote license acquire. Sript can read the domain and ip and post them to server. But how my server should know this is for which user to issue a license for his account? I was thinking of a cookie set. But is there a better way?
nimasdj — 2014-03-02T15:12:49-05:00 — #2
force — 2014-03-03T16:29:21-05:00 — #3
You should probably store a unique value, userid in the database somehow. Or, use the email address that was used to make the purchase (although I don't recommend this since email addresses can change).
Then again, you would still have to have something in place that would prevent the user from using the license more than once.
If you encrypt the source code, I'm pretty sure both zend and ioncube have features to issue licenses, so you don't necessarily have to build a custom solution into your application.
xmog — 2014-03-03T17:42:47-05:00 — #4
IMO, it's not worth the time and effort to setup a custom license check. If it's for a website, ask for the website URL when selling your product. Maybe you could just ping your server at some random interval with the current site URL that is using your server.
You have to ask yourself: Is it worth it to piss out legitimate users VS preventing possible pirates with a solution that could get cracked anyway + spending time coding and maintaining it + spending time to answer support emails from pissed off clients that ask why the license doesn't work + ....