A node-locked software license (also called a machine-bound, hardware-bound or device-locked license) is a software license that only works on one specific computer. On activation, the app builds a device fingerprint from stable hardware or OS identifiers, hashes it, and sends it with the license key to the license server. The server records that key + device pair and refuses the same key on another machine once its activation limit is used. At every start the app rebuilds the fingerprint and checks that it still matches. To move the license, the customer deactivates the old device first.
Selling a desktop app or game from your own site? License Manager for WooCommerce Pro limits activations per key and gives your app public activate/validate routes. See it in the Live Demo or compare plans and pricing.
This guide covers how node-locked licensing works, which identifiers to use, online vs offline node-locked licenses, transfers and hardware changes, and how to node-lock an app you sell from WooCommerce. To see activations per device in a real admin, open the License Manager Live Demo.
What is a node-lock software license?
In licensing, a “node” is one machine. A node-locked license ties a license key to that machine, so copying the program or the key to another computer does not unlock it. It is the most common model for desktop software, CAD and engineering tools, audio plugins, games and developer tools that run on a known workstation.
| Term you will see | Means |
|---|---|
| Node-locked license | Key works on one named machine (or a fixed number of machines) |
| Machine-bound / hardware-bound license | Same idea, stressing the hardware fingerprint |
| Device-locked license | Same idea for phones, tablets and IoT devices |
| Activation limit / seats | How many machines one key may be bound to |
How do hardware-bound licenses work?
1. Device fingerprinting
The app collects a few identifiers that rarely change, combines them, and hashes the result (for example with SHA-256 plus an app-specific salt). Only the hash leaves the machine, not the raw serial numbers.
| Identifier | Stability | Watch out for |
|---|---|---|
| OS machine ID (Windows MachineGuid, macOS IOPlatformUUID, Linux /etc/machine-id) | High | Changes on OS reinstall; cloned VM images can share it |
| Motherboard / BIOS UUID | High | Some boards report empty or default values |
| Disk serial number | Medium | Changes when the system disk is replaced |
| MAC address | Low | Easy to spoof; changes with adapters, VPNs and docks |
| CPU ID | Medium | Not unique on many modern CPUs |
Combine two or three values and decide how strict to be. Licensing vendors such as Cryptlex use “fuzzy” matching that tolerates one changed component, because a strict match locks out customers who replace a disk.
2. Activation binding
The customer enters the key. The app sends the key and the fingerprint to the license server, which checks that the key exists, is not expired or disabled, and still has a free seat. If so, it stores the key + fingerprint pair and returns success. Activating again from the same machine reuses that record instead of taking a second seat.
3. Validation at runtime
At each start (or every few days), the app rebuilds the fingerprint and asks the server whether this device is still activated and the key still valid. Systems built for offline use instead check a signed license file locally, as described below.
4. Enforcement
If the check fails, the app decides what happens: show the activation window, drop to a limited mode, or stop. Always tell the user why (expired, seat limit reached, key not found) and how to fix it.
Machine-bound licensing: online vs offline node-locked license
| Online activation record | Signed offline license file | |
|---|---|---|
| Where the binding lives | On your license server | In a file signed with your private key (RSA, ECC or Ed25519) |
| Check at startup | API call to the server | Signature + fingerprint check on the device |
| Works without internet | Only with your own cached grace window | Yes |
| Revoking a key | Immediate on next check | Only when the file expires or the app goes online |
| Effort to build | Low | Higher (key management, file format, refresh flow) |
Online binding is simpler and lets you revoke keys straight away. Offline files are needed for air-gapped labs and field machines. Many apps use online activation plus a short offline allowance cached on the device.
Transfers and hardware changes
- Planned move: the customer clicks “Deactivate” in the app (or in their account) on the old machine. The seat is freed and the key activates on the new one.
- Dead machine: the old device cannot deactivate itself, so you (or the customer, if you allow it) remove that activation from the license admin.
- Hardware upgrade: if the fingerprint changes, the app looks like a new device. Fuzzy matching or a spare seat avoids a support ticket.
- Abuse limits: some vendors cap transfers per year. Keep the rule visible in your license terms.
Node-locked vs other license models
| Model | Bound to | Sharing control | Typical use |
|---|---|---|---|
| Simple key (no activation check) | Nothing | None: the key works anywhere | Low-price tools, donationware |
| Node-locked | One machine (or N machines) | Strong | Desktop apps, CAD, audio plugins, games |
| Domain-locked | One website domain | Strong for web software | WordPress plugins and themes |
| Floating / concurrent | A pool of seats in use at once | Strong, flexible | Teams and labs |
| User-based | A login | Depends on account sharing | SaaS and cloud apps |
For more on choosing a model, see types of software licenses.
Virtual machines, containers and cloud servers
Node-locking assumes a stable physical machine. In VMs, Docker containers and cloud instances, identifiers can be cloned with the image or change on every restart. Common approaches:
- generate a random install ID on first run and store it in the app’s data folder (it survives restarts but not a wiped volume)
- allow a few extra seats for server products, or
- license by user or by concurrent use instead.
Whatever you choose, say it in your license terms so customers know a fresh VM counts as a new device.
Pros and cons of node-locking
- Pro: stops casual key sharing between computers.
- Pro: clear, easy-to-explain rule for buyers (“use it on 2 computers”).
- Pro: works offline when you use signed license files.
- Con: hardware changes and reinstalls create support tickets if matching is too strict.
- Con: virtual machines and cloned images can share identifiers.
- Con: it raises the cost of piracy but does not stop a determined cracker who patches the binary.
Want to see per-device activations and seat limits in a real admin? Open the Live Demo or compare plans on the pricing page.
How to node-lock an app you sell with WooCommerce
If you sell from your own WooCommerce store, License Manager for WooCommerce gives you the following server side:
- keys on every order,
- an activation limit per key, and
- public activate/validate/deactivate routes that need only a public key in your app.
Your app supplies the device fingerprint. Here is the setup:
- Create a generator with Max activations = 1 (or 2-3 for “laptop + desktop” plans) and an expiry if you sell yearly licenses.
- Create an Application of the non-WordPress type and copy its public key.
- Link the WooCommerce product to the generator and the Application, then choose the order status that delivers keys.
- Turn on the public routes (activate, validate, deactivate) in the REST API settings.
- In your app, hash your chosen identifiers into a device ID and send it as the
domainvalue with the key and public key toPOST /wp-json/lmfwc/v1/public/activate. - At every start, call
/validatewith the same values and continue only whenis_activated_hereis true andis_expiredis false. - For transfers, call
/deactivatefrom the old machine, let customers deactivate from My Account, or remove the activation in the admin Activations list.
Limit activations per license with WooCommerce
The activation limit is what turns a plain key into a node-locked one. In License Manager it works like this:
- Max activations per key: set on the generator (or on an imported key). 1 = strict node lock; 2-3 = “laptop + desktop”.
- One record per device: each successful activate call creates an activation with a 40-character token, the label you sent (your device ID), the IP and the user agent. The same device ID activating again reuses its record.
- Seat limit enforced on the server: when all seats are in use, activate is refused with
lmfwc_activation_limit_reached. - Deactivate and reactivate by token: your app can free its seat on uninstall or “Move to another computer”, and reactivate the same record later.
- Customer self-service: with User activation and User deactivation turned on, buyers see their devices under My Account › License keys and can free a seat without a support ticket.
- Admin control: the Activations list shows every device per key; you can suspend or delete activations there.
| Plan | Max activations | Expires in |
|---|---|---|
| Personal (one computer) | 1 | 365 days or lifetime |
| Personal Plus (laptop + desktop) | 2 | 365 days or lifetime |
| Studio / small team | 5 | 365 days |
| Site license for a lab | 25 or more | 365 days |
A minimal Python example of the device ID and the activation call:
import hashlib, json, platform, urllib.request, uuid
STORE = "https://your-store.com/wp-json/lmfwc/v1/public"
PUBLIC_KEY = "YOUR_APPLICATION_PUBLIC_KEY"
def device_id():
# Combine identifiers you trust; read the OS machine ID here in a real app.
raw = "|".join([platform.node(), platform.machine(), str(uuid.getnode())])
return hashlib.sha256(("my-app-salt|" + raw).encode()).hexdigest()[:40]
def call(route, license_key):
body = json.dumps({"public_key": PUBLIC_KEY, "license_key": license_key,
"domain": device_id()}).encode()
req = urllib.request.Request(f"{STORE}/{route}", data=body,
headers={"Content-Type": "application/json"})
with urllib.request.urlopen(req, timeout=15) as r:
return json.load(r)
def is_licensed(license_key):
data = call("validate", license_key).get("data", {})
return data.get("is_activated_here") and not data.get("is_expired")
Notes: the server lowercases the domain value and cuts anything after a /, so a hex hash is a safe device ID. A second activation from the same device reuses its seat. When all seats are used, activate returns lmfwc_activation_limit_reached (HTTP 403), so show “deactivate another device” with a link to My Account.
Handle HTTP errors with a try/except in a real app; this sample is shortened and was not run against a live store.
What License Manager does not do: it has no built-in hardware fingerprinting, no signed offline license files, no floating seats and no fuzzy matching. The device ID, its stability and any offline allowance are your app’s code. If you need offline-first node-locking, a hosted licensing SDK is a better fit.
Selling a game or desktop app? See our guide to selling indie game keys on WooCommerce. For the order side, read how to generate WooCommerce order license keys, and for the bigger picture, how to protect your software.
Example: a node-locked desktop app from purchase to runtime
| Stage | What happens |
|---|---|
| Purchase | The customer buys the app in your WooCommerce store |
| Key | A key with max activations 1 is generated and emailed |
| Activation | The app sends key + device hash; the server records the seat |
| Daily use | The app validates at start and caches the result for a short offline window |
| New laptop | The customer deactivates the old device in My Account and activates the new one |
| Refund | The key moves to your “terminated” status and the next check fails |
Sell device-locked licenses from your own store
Keys on every WooCommerce order, a per-key device limit, and public activate/validate routes with no secret in your app.
Live DemoView Pricing