Protect & License An Excel Workbook
Protect & License An Excel Workbook
Excel Software
www.excelsoftware.com
There are several ways to protect, license and sell an Excel workbook as a
protected product with computer unique activation. The best solution for your
project will depend on your technical requirements, desired user experience,
marketing goals, development budget and income opportunity for the product.
With either approach, start with a finished Excel workbook with protected cells and
hidden formulas as desired. Save your document as a Macro-Enabled Workbook
(.xlsm file). First, a basic product license is discussed using AppProtect, then other
license types, advances features and user interface enhancements are described
using QuickLicense.
OfficeProtect consists of some VBA code in a text file with instructions to copy
and paste it into your spreadsheet. Using AppProtect, select your spreadsheet
document. Click to build a protected EXE file for Windows or APP file for Mac.
Your product is single file with its own icon ready for distribution to customers,
just like any normal Windows or Mac OS X application.
Build Protect Application from Excel Workbook
The activation process can be automated with an online activation server. On first
launch on a customer computer, the Enter Serial Number dialog is presented. The
customer enters the Serial Number received at the time of purchase.
If your user needs to make multiple copies of the encrypted file to store unique
data for each client, project, etc., instruct them to copy, paste and rename the
original data file stored with a .xlse file extension. When the user double-clicks
your application, they are presented with a popup menu that allows them to select
the specific workbook file they want to open.
Once a user has activated your license, any number of copies of your spreadsheet
can be used on that computer. The encrypted spreadsheet file cannot be copied and
used on another computer unless the user has purchased and activated a license for
that machine.
With a VBA Bound License, your spreadsheet is distributed as a typical .xlsm file.
It contains VBA code provided by OfficeProtect that binds the spreadsheet to a
specific Ticket file that defines your license and a runtime file that handles the
activation and licensing process.
This protection approach is similar to that described for AppProtect with more
customization options. Start by selecting the desired license options in
QuickLicense and then generate a Ticket file. Prepare your .xlsm as previously
discussed, then select it, your icon file and the Ticket file from the AddLicense
wrapping tool provided with QuickLicense.
AddLicense offer options to present an Open Data File screen when launching an
activated application. Select a specific data file to open or click buttons on the
right to name, clone, delete or perform other actions on the collection of encrypted
workbook files.
The Update button provides a convenient way to update your spreadsheet on the
user’s computer if you make changes. The Notes button presents a support page
from your website in the user’s default browser. These buttons can be hidden or
other features customized within the AddLicense tool when building your
protected EXE or APP file.
Open Data File Screen Presented on Application Launch
License Types
QuickLicense supports many license types including Trial, Product, Try/Buy and
Subscription. All options related to a specific license are defined in the Ticket file.
Everything related to licensing and activation is a point and click configuration
process so you can stay focused on the core features provided by your application.
• Trial License - Some vendors provide a free Trial edition that runs for a
number of hours, days or launches before it expires. The customer can try it
out before committing to a purchase. A Trial license can be configured to
auto-activate on first launch or first collect some customer data that is sent to
the vendor, then activate to start the Trial period.
• Try/Buy License - Some vendors combine the Trial and Product license into
the same application. This allows the customer to try it for a while, then buy
and activate the Product without downloading another application. During
development, you will define separate Trial and Product ticket files then
combine them into one application with AddLicense.
• Subscription License - A Subscription license requires a periodic
Subscription Code to continue to use the application. The monthly, quarterly
or annual Subscription Code can be provided by phone or email and entered
by the customer. An online activation server can fully automate a
Subscription license as discussed below.
A Try/Buy license combines the Trial and Product license into one application.
When launched on a new computer, a Try Buy License dialog is presented. The
user starts by clicking on the Trial button. On each application launch, the user
will see this dialog.
Click the Trial button to continue the Trial process, click the Buy button to present
the vendor website in the default web browser or click the Product button to
activate the Product license. Once the product is activated, the Try Buy License
dialog is never presented.
Activation Process
For a manual process, the Activation dialog shows a Request Number and accepts
an Activation Code. The Request Number is unique to each computer based on
various hardware and software characteristics at the time of activation. The
customer gives the Request Number to the vendor by phone or email and gets back
an Activation Code that uniquely activates the license on their machine.
Manual Activation Dialog
On first launch, the Serial Number and other optional data is collected in an
Activation dialog. When the customer clicks Activate Now, the license is
immediately activated. The customer data is stored in the server.
License Features
Imagine that your customer has purchased and activated your product on their
computer. A few months from now they might decide to buy a new machine and
want to move your application to the new computer. QuickLicense supports Block
and Unblock codes that will ensure a license is blocked from running on an old
computer before activation is allowed on a new computer.
With a manual activation process, the customer contacts the vendor to exchange
Block and Unblock codes when securely moving a license from machine to
machine. With an online activation server, that process can be fully automated
with a few customer button clicks.
Some vendors allow a 10-day Trial license. It is not uncommon to have a potential
customer activate the trial and then leave for a two-week vacation. When they
return, the license has expired. QuickLicense can generate an Expiration Code that
extends the license to a specific date when entered by the customer into a dialog
presented by a special key sequence. Expiration Codes are computer specific and
that process can be used any number of times for each license.
Activation Server
QuickLicense and AppProtect each support three online activation servers. Safe
Activation is an online service, while the other two are self-hosted servers that run
on your own website.
• Safe Activation
• Desktop License Server
• WebActivation
Safe Activation is an online service where you log into your account with a
browser, setup some information for each product that you sell and give each
customer a Serial Number to activate your software. Safe Activation is available
with different account sizes and features in Service 1, 2 or 3.
Service 1 provides basic activation features for each product that you sell, a form
that collects customer data during activation and a list of Serial Numbers that each
allow X computers to be activated. When activations occur, a customer record is
added that stores the customer-entered data.
Service 2 adds licensing features like release, restore, reset and suspend. It also
has features to manage a software subscription based on the Serial Number.
Service 3 adds order process automation. There are no setup costs, time
commitments or web programming required with Safe Activation. You can grow
your account size as needed or cancel the service at any time.
Software Subscription
Some vendors offer their product as a monthly, quarterly or annual service rather
than a one-time product purchase. This lowers the entry cost for new customers
and encourages long-term relationships between the vendor and customer.
The easiest way to automate a software subscription is to let the activation server
do all the work. Simply set the Subscriber checkbox for all new Serial Numbers
and clear that checkbox for a specific Serial Number if the subscription is
cancelled. The protected product and activation server will manage the
subscription automatically. This automated process requires Safe Activation
Service 2 or 3, Desktop License Server or WebActivation.
Paypal has a nice feature for software subscriptions. Within the merchant account
you can create a Subscription button. When purchasing with this button, a
reoccurring charge item is added to the buyer’s Paypal account.
When Paypal posts the order data to Safe Activation Service 3, an email message
with download link and Serial Number is sent to the customer. If the customer
later cancels the subscription, Paypal posts that data to Safe Activation to clear the
Subscriber checkbox associated with that Serial Number. This fully automated
system allows subscriptions to be purchased, maintained or cancelled without
vendor participation.
USB Dongle Protection
When using QuickLicense and MakeDongle to create a protected EXE or APP file,
there is an option to store the encrypted spreadsheet files and your application itself
on the dongle. This optional setup allows the user to easily move your application
and documents to any computer where the dongle is present.
Floating License
So far we have discussed licensing an application for use on each computer. That
is the most common approach when selling applications to companies,
organizations or individual users.
There are three parts to a floating license system, the license server, the license
monitor and the protected application. The license server runs silently at a fixed IP
address on one computer in the network and grants a license to run the application
on up to X computers within the network.
The license monitor is used to start and stop the license server, monitor the number
of active licenses and increase the number of active licenses allowed on the
network by entering a code provided by the vendor.
Users on the network simply launch your application from any computer. A no
license available message is presented if there are too many current users.
No programming is required to generate the license server and monitor. This point
and click development process takes a few minutes to complete and yields a
royalty-free floating license system that can be distributed to any number of
organizations.
Summary
This article presented many options to protect, activate, license, sell and automate
the order process for your Excel workbook. Features and pricing are scaleable
starting with a basic product license using AppProtect and OfficeProtect. Most
capabilities discussed require QuickLicense Standard instead of AppProtect.
Excel Software offers free tech support on all of our tools. If you would rather not
setup the license, activation, order process and protection yourself, ask for a free
quote to have us do it for you. Demonstration videos are available on the Excel
Software website for tools and methods presented in this article. Excel Software
offers a large suite of protection and licensing tools for any digital product or OS.