Local Key Licensing
Go Back
Local key licensing is a very effective way to license your product or file. This method of licensing gives you the ability to deploy a strict pre-defined set of rules without the need of remote communications. Consider the diagram below as it illustrates the flow of local key licensing.

Quick summary of the process:
- The end user installs your software
- Your software checks the local file system for a license key
- If the key is not there, your end user is forwarded to your PHPAudit to create a key
- End user is issued a local license key
- End user uploads the local license key to their installation
Benefits of Local Key Licensing:
- Very effective method of licensing
- Can be used in conjunction with Remote licensing
- Create timed trials of your products or files
- Uses only basic PHP to validate the local key, no other requirements
- * Very, very low overhead to validate the local license key
Pitfalls of Remote Licensing:
- ** Be careful of "Never Expire" keys, once they are issued they can't be taken back
- License updates require a manual update of the license key, no realtime interaction
* It's not unrealistic to check the local key with every page refresh.
** Use a timed key instead with PHPAudit e-mailing out new keys on or before key expiry.