Skip to content

Hardware-Based Protection Options (Dongles & USB)

With XLS Padlock, you can lock your Excel workbooks to a USB stick or a dedicated security dongle. This means that the compiled workbook application will not work if the correct USB device is not inserted. The application will check for the device’s presence at startup and can also check for it regularly during execution.

To use this protection, check the option “Link the application to a dongle or a USB stick” on the “USB Protection” page and select the device model you have.

XLS Padlock USB Protection page with the option to link the application to a dongle or USB stick

XLS Padlock supports several types of hardware-based protection to lock your Excel application to a physical device.


According to the provider, Enky CT is an easy-to-use, flexible 32-bit smart-card based time clock dongle, mainly used for software protection and time limitation.

For support, please contact [email protected] or visit https://hs-securityware.com.

Enter the Developer ID provided by HS Securityware (it is case-sensitive).

Application ID can be any value you want to identify the dongle, and it should be related to the application you are creating.

Background Check

The application checks for the dongle’s presence at startup and can also check for it regularly during runtime. You can define the frequency of these checks; for example, a value of 20 means the application will check for the dongle every 20 seconds. If the dongle is not found, a nag screen appears, requiring the user to insert the dongle within 15 seconds, or the application will exit.

Set restrictions on the application

You can limit the number of times your application can be run by setting a Max Execution Count. You can also make your application expire after a given number of days (Trial Days) or on a specific Expiration Date.

This dongle model allows you to remotely upgrade dongles that are already with your customers. For instance, you can extend an expiration date or add more runs. This remote update feature is based on a request-and-authorization code system.

How to remotely update a customer’s dongle:

  1. First, generate the “remote authorization request tool” from XLS Padlock and send the resulting EXE and DAT files to your customer.

    Warning

    These two files (.EXE and .DAT) must remain in the same folder for the tool to work.

  2. The customer runs the tool to generate a request code, which they send to you.

  3. In XLS Padlock, choose “Validate Request and Generate Authorization Code”, paste the request code, and click “Validate Request Code”. You can then see the current status of the dongle and set new limits (usage count or a new expiration date).

  4. Generate the authorization code and send it back to the customer. They will use the same tool to enter the code and apply the update to their dongle.


For support, please contact [email protected] or visit https://hs-securityware.com.

The Enky LC is a cost-effective, driverless HID dongle for software protection.

  1. Enter the Developer ID you received from HS-Security Ware.
  2. Enter a unique Product ID for your workbook. This ensures that only dongles with the correct Product ID will be accepted.

To link a dongle to your application, you must first “burn” it using the “Burn Dongle Now” button in XLS Padlock. This configures the dongle with your IDs. This process can also happen automatically when you compile your application if a compatible dongle is plugged in.

You can enable a background check to ensure the dongle remains plugged in while the application is running. You can set the interval (in seconds) for how often the check is performed.


You can lock your application to one or more generic USB sticks based on their unique manufacturer ID.

  • First, you must enter an Application Secret ID. This is combined with the USB stick’s ID to generate a unique hash.
  • When the application launches, it scans all USB drives. If a drive with an authorized hash is found, the workbook opens.

To authorize a USB stick, plug it in, select it from the drive list in XLS Padlock, and click “Allow this USB disk”. You can authorize multiple USB sticks.