XLS Padlock is copy-protection software for Microsoft Excel workbooks. The application converts XLS files into secure Windows executables while encrypting formulas, locking the VBA editor, and preventing unauthorized copying. It includes a VBA compiler that transforms macros into native code, removing source code visibility for end users.
VBA Code Compiler. The VBA compiler converts macro source code into native binary format. This process eliminates the need for the Visual Basic engine during execution and removes editor access for end users. The compiled modules run at native speed and cannot be viewed, modified, or extracted from the final executable file.
Workbook Encryption. The entire workbook payload is encrypted using strong cryptographic algorithms. The data remains encrypted at rest and is only decoded in memory during runtime. This prevents direct extraction of sheet content, cell values, or embedded objects from the protected file.
Formula Protection. Selected cells containing formulas can be hidden while remaining fully operational. The application replaces visible formula references with generic function placeholders. Users can calculate results but cannot inspect the underlying mathematical or logical expressions.
Structure Locking. Sheet structure, workbook layout, and internal references are locked against modification. The user cannot add, delete, rename, or reorder sheets within the protected environment. This preserves the intended workflow and prevents structural sabotage.
Anti-Debug Runtime. The protected executable includes anti-debugging measures that detect analysis tools such as debuggers and memory inspectors. Runtime integrity checks verify that the program has not been modified since compilation. Tampering attempts trigger immediate termination.
Hardware-Locked Keys. License keys can be bound to a specific machine fingerprint generated from hardware components. The system supports configurable activation counts, deactivation procedures, and license transfers between authorized devices.
Dongle Protection. The workbook executable can be paired with a USB hardware dongle. The application refuses to start unless the dongle is physically connected to the machine. This provides a physical security layer for high-value spreadsheet products.
Online Activation. Per-user activation keys are issued and verified through an online service. The system supports trial periods with deadlines or usage limits, email delivery of keys, manual revocation, and tracking of activation events.
Save Options Control. The developer decides whether end users can save changes to the workbook. Options include read-only mode, encrypted saves that preserve protection, or complete prohibition of saving. This controls data persistence and prevents redistribution of modified files.
Executable Compilation. Excel projects are compiled into standalone Windows EXE files. The output requires no Excel installation on the target machine. The compilation process bundles all necessary runtime components into a single self-contained application.
Code Signing. The generated executable can be digitally signed using a Personal Information Exchange certificate. Code signing verifies the publisher identity and confirms that the file has not been altered after signing.
Installer Creation. The protected workbook can be wrapped in a Windows installer package. The installer handles file placement, registry entries, shortcuts, and clean uninstall procedures. This distribution method simplifies deployment for commercial products.
WooCommerce Integration. A free integration kit enables automatic license key generation for WooCommerce orders. The system delivers keys by email, manages refunds, and supports revocation of previously issued licenses.
FastSpring Subscription Kit. Recurring revenue models are supported through automatic renewal and expiration handling. The subscription kit manages license validity periods and ensures that expired subscriptions cannot access the protected workbook.
Auto-Update Channel. The compiled executable can include an auto-update mechanism. New versions of the protected workbook are distributed through a defined update channel without requiring manual reinstallation by end users.
The development of XLS Padlock began in the early 2000s as a response to the growing need for Excel workbook security in commercial environments. The software was created by G.D.G. Software, a development company focused on document protection and compilation technologies. The core engine is written in C++ for performance-critical operations, while the Excel integration components use Visual Basic for Applications and COM interfaces. The VBA compiler component translates Visual Basic source code into intermediate representation before generating native machine code through LLVM-based backends. Over the years, the program evolved from simple sheet protection to a complete licensing and distribution platform. Major milestones include the introduction of the VBA compiler in 2008, hardware-locked licensing in 2012, and cloud-based activation services in 2016.