BACK TO PROJECTS
PHILOZZCASE STUDY

Maxtree Licensing System

Cryptographic License Verification & Authorization Service

MY ROLE
API & Security Engineer
CLIENT / CONTEXT
Demonstration System (Desktop Plugin Auth)
TIMELINE & STATUS
Production Prototype
INTERACTIVE SYSTEM RUNTIME VISUALIZATION
SMARTPOS // NATIVEPHP_HARDWARE_IO
ENGINEERING SCHEMATIC
HARDWARE I/O // SCANNER
Serial Stream Pipe
USB Barcode / Laser StreamIMEI Check: Luhn 15-Digit PASS
Debounced Fast Keystroke Buffer
LOCAL RUNTIME // DESKTOP
NativePHP Host
In-Memory SQLite CacheCheckout Lease: 120s Optimistic
Multi-Attribute Variant Matrix
PRINTER // ASYNC SPOOLER
ESC/POS & MySQL
Async Background PDF SpoolBatch Cloud Sync: Committed
Automated Daily P&L Ledger

The Engineering Challenge

The licensing service needed to authenticate desktop plugin clients securely without exposing master private keys, while gracefully handling flaky client connections and preventing replay attacks.

A secure authorization backend and client verification module for desktop 3D CAD/3ds Max plugins, enforcing license validity while supporting offline grace periods and tamper resistance.

Core Architectural Responsibilities

  • Formulated an asymmetric key-pair signing architecture (Ed25519) for tamper-evident license tokens.
  • Constructed a hardened Laravel REST API with strict rate limiting and hardware-fingerprint binding.
  • Wrote a lightweight Python verification bridge for native integration with the desktop 3ds Max runtime.
  • Implemented a secure offline grace-period validator with monotonic local timestamp checking.

System Architecture

The desktop plugin collects machine fingerprints and submits a signed challenge to the Laravel API. The API validates entitlements, generates an Ed25519-signed JWT containing valid feature flags, and returns it. The plugin verifies the signature using the embedded public key.

Python 3.11

Desktop Host (3ds Max)

Plugin environment running Python client verification runtime.

Native OS Bridge

Hardware Fingerprinter

Obfuscated CPU, motherboard, and disk identifier hashing.

Laravel 11 REST

Licensing API Gateway

High-availability endpoint with mTLS and token issuance.

MySQL 8.0

Entitlement Database

Customer licenses, active activations, and seat allocations.

Sodium Cryptography

Cryptographic Signer

Isolated signing module utilizing asymmetric Ed25519 keys.

Key Technical Decisions & Trade-Offs

Asymmetric Ed25519 Signatures

Allows the desktop client to verify license validity offline using only a public key, without risking secret compromise.

Fail-Closed with Capped Leeway

Strikes the optimal balance between customer continuity during internet dropouts and piracy resistance.

Seat Allocation Leases

Heartbeat renew leases automatically, freeing seats when workstations shut down without explicit logout.

Technologies Deployed

LaravelPython 3Asymmetric CryptographyMySQLDocker

Lessons Learned & Retrospective

  • Observation #1: Virtual machine environments require multi-factor hardware hashing to avoid duplicate activation spoofing.
  • Observation #2: Clock-skew mitigation is mandatory when desktop system times drift relative to NTP servers.
  • Observation #3: Public keys must be embedded with integrity checks to prevent binary patching.

CONTINUE EXPLORING ARCHITECTURE CASE STUDIES

HIGH-CONCURRENCY & QUEUE ARCHITECTURE

SkillUp Platform

High-Concurrency Growth & Performance Platform

Read Case Study
ENTERPRISE DESKTOP ERP & POS

SmartPOS ERP

Mobile Retail Point-of-Sale & Inventory System

Read Case Study
BACKEND & DISTRIBUTED QUEUES

Tanqia Skills

Employee Task Management System

Read Case Study
Back to Projects Overview