I'm looking at licensing my plugins, but I'm a little stuck on local installs (e.g. localhost).
I can create the license key no problems, using either the domain, or url, plus a private key, and salt.
For instance this:
Encrypt(siteUrl, productKey, saltkey)
Would give me this key: R4GxXbnj7IeWbCh81/flOfMLTG15K8YzoieqKZwbq1+bLv2SvIp4vQ==
I can then decrypt that key, which would give me the domain/url, which I can then validate with no problems.
The issue I have, is I can't validate if the site is running on localhost (I can of course check if local) - So, can this be done, or do I only allow for them to be validated on a live server? I don't want to have to 'phone home' if I can get away with it.
Thanks in advance,
Craig