First Looks

Desaware: Secure Your Intellectual Property

Versitile, .NET-based licensing-management software.

Desaware Licensing System is a complete package for authorizing the use of .NET software, including Windows applications, Web services, and ASP.NET components. The system supports a wide range of licensing scenarios, including time-limited demo installations, subscriptions, product key-only authorization, deferred activation (until an Internet connection is available), and mandatory Internet activation before installation. For ASP.NET applications, you can restrict a license to a specific domain or to a range of IP addresses (see Figure).

The Desaware Licensing System is itself protected by the Desaware Licensing System. After I entered a GUID-like keycode, the installer sent a SOAP message to its Web service at http://dls.desaware.com, which returned an encrypted key and a readable value of Success.

The setup includes PDF documentation that I wish I'd downloaded from Desaware's Web site before running the MSI file. The document contains heart-stopping warnings in several locations. One deals with the high-security scenario where you require activation for your software to install. If your licensing-server system or database breaks down, nobody can install your product. Forget about a backdoor, hack, or secret code to recover your private key. Another warning says not to count on the licensing system to protect your intellectual property; you should run an obfuscator (included) against your .NET assemblies to deter reverse engineering.

My intention for the review was to put the licensing Web service on a publicly hosted site. The documentation says: "The Licensing Server requires full trust to run." That rules out most shared-hosting options. In practical terms, you need to "own" the Internet box. Resigned to running on a VPC, I configured the license server on IIS using an Access database. It was easy and worked fine after I set the Web application to use ASP.NET 2.0 instead of 1.1. I pointed Desaware's License Manager to the Web service, and I had no difficulty registering applications and their associated license keys.

You can also expect to spend a day getting your head around the various facets of the system. The documentation is fine for the administrative operations (using License Manager), but I found the code examples (in VB and C#) more instructive for integrating licensing into a Visual Studio project.

As a reviewer, it's frustrating that I'm unable to say whether the Desaware Licensing System can withstand attacks by hackers. That said, any activation scheme risks spawning a key generator on a crackz site. Perhaps that's why the license agreement states that Desaware "makes no representation or warranty that the software is fit for any particular purpose."


At A Glance
Desaware Licensing System
Desaware
Web:
www.desaware.com
Phone: 408-404-4760
Price: $1,495
Quick Facts: Versatile licensing-management software, and activation services for Windows and Web-based applications using Microsoft .NET.
Pros: Wide range of licensing scenarios including time-based trial and IP address restrictions; easy installation; useful examples in VB and C#; good documentation.
Cons: ASP.NET activation service component requires Full Trust; license tied to a machine; no warranty except on CD media.

About the Author

Ken Cox is a Canadian .NET programming writer and the author of "ASP.NET 3.5 for Dummies" (Wiley).

comments powered by Disqus

Featured

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events