Re: Securing Software with License



P1ayboy wrote:

> I need advice on how to best to protect software with licenses.
>
> We are developing a windows application that people can purchase and
> download off the net, but the software needs to be protected by
> licensing.
>
> The software is being written in vb.net v1.1.
>
> If anyone knows any beeter places to post this message, please let me
> know.

I'd go for signed xml files. You can create them at your own server
and add any info you want, like the name of the customer. Signed xml is
easily read with .NET code and checked (it's build in).

Another approach is a key-code but that's less personal to the
customer and you run the risk of having your serial codes end up on
some crack site.

You can also purchase a commercial licensing library, like Xheo
licensing. These typically implement a few different ways of doing
licensing, like signed xml files or serial numbers.

Either way, you have to protect your own code from disassembling and
removal of the protection code. So obfuscate the code, sign your
assemblies, check at random places that the public token on the
assemblies is still yours and if not set a random variable to null so
the app crashes somewhere else.

That said, also read:
http://software.ericsink.com/bos/Transparency.html

about how far you should go in protecting your own software, as the
more you do to protect your software, the more you likely will annoy
your (potential) customers. :)

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
.



Relevant Pages

  • Re: Any products to protect MVS software from cracking and reverse engineering?
    ... A simple licensing agreement gives you legal recourse and should take care of all but the most determined. ... Any products to protect MVS software from cracking and reverse engineering? ... distributor. ... (Yeah, yeah - I know; if they were successful we wouldn't ...
    (bit.listserv.ibm-main)
  • Any MSFT plans to prevent reverse engineering or license hacking?
    ... Does Microsoft have ANY plans for .Net to allow developers to protect their software from decompilation of the intellectual property or easily hacking an otherwise secure licensing scheme by simply removing it with readily supplied tools? ... Are the new versions of NGEN still requiring the MSIL to be present? ...
    (microsoft.public.dotnet.general)
  • Re: Win32_PhysicalMedia
    ... >> I have seen questions such as this many times before. ... > a very easy solution but its tucked deeply in a corner of the msdn library ... are other licensing software available but I don't know what they are. ... protect the software from unauthorized use by owners and administrators (the ...
    (microsoft.public.win32.programmer.wmi)
  • Software Protection Survey
    ... protect your software from piracy and help you manage your customer ... licensing. ... Would you participate in a survey to assist us in providing the right ...
    (comp.security.misc)
  • Re: New Cato Study Advocates Eliminating Medical Licensing
    ... licensing is to protect the consumers from charlatans ... New Cato Study Advocates Eliminating Medical Licensing ... get a friend to write all my prescriptions. ...
    (alt.support.chronic-pain)