Forum Moderators: LifeinAsia
How do you create a 'user licence' (valid in the UK) so that only the owner of the application is allowed to use it (and one copy of it).
Is there such a thing as a basic licence template to follow?
If you are handing them source code, there is nothing you can do to stop them from redistributing it.. If you are handing them a compiled program you could develop a security algorithm (key-gen) and then they need to call you to install it every time..
Tons of options, but it really comes down to how much effort you want to put into policing it and follow up.. In most instances, it's not worth the effort to stop them for most things.. Just go with a copyright and then sue them if you see it in the wild being pirated..
I know the vBulletin install script verifies your license through one of their servers.
Brett
Basically you need to do the following.
1. Separate the design (template) and coding (logic)
2. Encrypt the logic using any of the encoders available in the market. In our case, we went with sourceguardian.
3. Code a small license system in the install program which makes a connection to your website and verifies the license.
4. After installation, the script may make random connections to your license server to verify the license (say when the admin logs in). Eg. Cpanel. If license is found to be invalid, the script is locked and admin password reset.
Including point 4 means you may cancel the license anytime for violation and the script becomes useless.
Hope this helps. If you have specific questions, let me know and I will sticky you my site URL where I have implemented this solution :-)
Anyone got any direction on writing a licence agreement?
You really need to talk with a lawyer competent in software licence agreements or minimally in general contract law, preferably international contract law. This is not an area to "wing" it.
To give yourself some background simply do the following:
* One: read the agreements with the software you use.
* Two: do a search for "software licence agreement" (with or w/o quotes) or similar and read til the cows come home.
You can cut and paste sections that you see that would apply to your product. Then haul it in to the law-type-person for comment and adjustment.
Repeat: I strongly urge competent legal advice in this area.
[phpclasses.org...]
It's called PADL - PHP Application Distribution Licensing System
It is still under dev however it is stable and i am constantly updating it. It has no gui yet but does include sql for a license server.
It generates license strings that can bind PHP applications to specific servers or can only be executed during limited time period or to restrictions placed on a home server.
The binding to server process attempts to use the server network card MAC address. This feature was tested on servers are Mac OS X (Darwin), Linux, Windows XP, although it may also work for FreeBSD, NetBSD, Solaris.
The class also attempts to use information from $_SERVER variable to encode that server name, server IP, server user path and server url to the application folder. This server binding can be disabled if required, and it also possible to block the key being generated for the localhost address (127.0.0.1)
The time limiting of the license uses a start period (and a given start offset to allow for time discrepancies) and an expiry date if required.
If required when validating a key it is possible to dial home to check the license key on your own server.