473,396 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Copy protection ideas

I would like to set up a copy protection scheme where the application must
be provided
with an unlock code before it can be installed.

Any ideas for a relatively simply system for doing this ? I seem to remember
something like reading PC BIOS, adding the current date and XORING with a
fudge factor to create a code that the user rings up and quotes. In return
we give then an unlock code.

(I have also forgotten how to read BIOS).

Thanks for any help

Regards

David
Nov 21 '05 #1
10 3636
"David" <da***@orbitcoms.com> schrieb:
I would like to set up a copy protection scheme where the application must
be provided
with an unlock code before it can be installed.


Licensing support in the .NET Framework:

..NET Framework Developer's Guide -- Licensing Components and Controls
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconlicensingcomponentscontrols.asp>

..NET Licensing
<URL:http://windowsforms.net/articles/Licensing.aspx>

Free components:

Aspose.License
<URL:http://www.aspose.com/Products/Aspose.License/>

Commercial components:

XHEO|Licensing
<URL:http://www.xheo.com/products/enterprise/licensing/>

Infralution Licensing System
<URL:http://www.infralution.com/licensing.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
whichever technique is ineffective if the program can be decompiled !

try my Goliath.NET obfuscator (pre-release version):
http://xoomer.virgilio.it/cantelmoso.../net/TryMe.zip

your opinion is a lot important. tnx in advance for your feedback

Marcello
www.cantelmosoftware.com
"David" <da***@orbitcoms.com> ha scritto nel messaggio
news:Of***************@tk2msftngp13.phx.gbl...
I would like to set up a copy protection scheme where the application must
be provided
with an unlock code before it can be installed.

Any ideas for a relatively simply system for doing this ? I seem to
remember
something like reading PC BIOS, adding the current date and XORING with a
fudge factor to create a code that the user rings up and quotes. In return
we give then an unlock code.

(I have also forgotten how to read BIOS).

Thanks for any help

Regards

David

Nov 21 '05 #3
I can see how this licenses a control. Can you explain how these are used to
protect the application istelf ? I am not sure how I generate the serial
number for each copy of the software I distribute.

Thanks
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
"David" <da***@orbitcoms.com> schrieb:
I would like to set up a copy protection scheme where the application must be provided
with an unlock code before it can be installed.
Licensing support in the .NET Framework:

.NET Framework Developer's Guide -- Licensing Components and Controls

<URL:http://msdn.microsoft.com/library/en...nlicensingcomp
onentscontrols.asp>
.NET Licensing
<URL:http://windowsforms.net/articles/Licensing.aspx>

Free components:

Aspose.License
<URL:http://www.aspose.com/Products/Aspose.License/>

Commercial components:

XHEO|Licensing
<URL:http://www.xheo.com/products/enterprise/licensing/>

Infralution Licensing System
<URL:http://www.infralution.com/licensing.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
I am looking for a "simple" technique.

The users of my particular application will not go to the extend of
decompiling the application.

They are more likely to make unauthorised copies of the software to run on
more than one machine.

Each time they install our software at a site, I want the install program to
display a code that is unique to that machine in some way.
The customer then contacts us and we give them a key to type in that allows
the application to be installed and run.

If I knew some useful data locations on the PC or in the registry that I can
read and use to create this lock code then I could sum the value of these
parameters, add the date and xor to provide a code.

Thanks

"Cantelmo Software" <in**@cantelmosoftware.com> wrote in message
news:ui**************@TK2MSFTNGP14.phx.gbl...
whichever technique is ineffective if the program can be decompiled !

try my Goliath.NET obfuscator (pre-release version):
http://xoomer.virgilio.it/cantelmoso.../net/TryMe.zip

your opinion is a lot important. tnx in advance for your feedback

Marcello
www.cantelmosoftware.com
"David" <da***@orbitcoms.com> ha scritto nel messaggio
news:Of***************@tk2msftngp13.phx.gbl...
I would like to set up a copy protection scheme where the application must be provided
with an unlock code before it can be installed.

Any ideas for a relatively simply system for doing this ? I seem to
remember
something like reading PC BIOS, adding the current date and XORING with a fudge factor to create a code that the user rings up and quotes. In return we give then an unlock code.

(I have also forgotten how to read BIOS).

Thanks for any help

Regards

David


Nov 21 '05 #5
Contelmo,
whichever technique is ineffective if the program can be decompiled !

True. However not any method is be100% proof.

There is forever logic involved.

In a normal situation there are not so much users who know how to decompile,
to change it, to compile and than to use it.

This is in most countries protected by law when it is about illegal use of
the software.

With what I don't say "don't protect it", that is everybodies own decission.

Cor

Nov 21 '05 #6
>> whichever technique is ineffective if the program can be decompiled !

True. However not any method is be100% proof.

There is forever logic involved.

In a normal situation there are not so much users who know how to
decompile, to change it, to compile and than to use it.

This is in most countries protected by law when it is about illegal use of
the software.

With what I don't say "don't protect it", that is everybodies own
decission.


Hi Cor,
they are pushing to the patent!

you must patent the software e/o algorithm in *all* the nations (cost
exaggerated for a single developer!). but he remembers, than your code, he
never must not have been used before from nobody.

not there is no association that you protection. you must verify that the
code was yours...decompiling (illegal use) the program !!! and if also a
portion of code is various you must pay the moral damages !

Marcello
Nov 21 '05 #7
For a link to what Herfried supplied, see my post in an earlier forum answer:

http://msdn.microsoft.com/newsgroups...b-8b9946abfb5f
Nov 21 '05 #8
The .NET Framework licensing is very easy to pirate. Just look for the lic
extension & then open it with a text editor.

As for decompilers: There are some fantastic ones out there for VB.NET &
they do do a good job. I have used them to test my own compiled source code,
and was shocked at the results.

There are a few programs that stop your program from being decompiled. One
of which is on the 'got dot net' user sample page
(http://www.gotdotnet.com/community/usersamples/). The good thing about it is
its free & it works extremely efficiently.
Nov 21 '05 #9
> The .NET Framework licensing is very easy to pirate. Just look for the lic
extension & then open it with a text editor.

As for decompilers: There are some fantastic ones out there for VB.NET &
they do do a good job. I have used them to test my own compiled source
code,
and was shocked at the results.

There are a few programs that stop your program from being decompiled. One
of which is on the 'got dot net' user sample page
(http://www.gotdotnet.com/community/usersamples/). The good thing about it
is
its free & it works extremely efficiently.


other obfuscator *only* renaming & overloads method!

try to decompiled with all your decompilers :-o this simple application
protect with my pre-release obfuscator:
http://xoomer.virgilio.it/cantelmoso.../net/TryMe.zip

Marcello
Nov 21 '05 #10
IMO This is the most miserable and useless example of licensing ever. The
code only explains the mechanism of the license and provides absolutely no
assistance whatsoever in creating a secure component. What can be dumber
than loading a file that says "This is a licensed component"?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
"David" <da***@orbitcoms.com> schrieb:
I would like to set up a copy protection scheme where the application must
be provided
with an unlock code before it can be installed.


Licensing support in the .NET Framework:

.NET Framework Developer's Guide -- Licensing Components and Controls
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconlicensingcomponentscontrols.asp>

.NET Licensing
<URL:http://windowsforms.net/articles/Licensing.aspx>

Free components:

Aspose.License
<URL:http://www.aspose.com/Products/Aspose.License/>

Commercial components:

XHEO|Licensing
<URL:http://www.xheo.com/products/enterprise/licensing/>

Infralution Licensing System
<URL:http://www.infralution.com/licensing.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

79
by: Klaus Bonadt | last post by:
In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current...
75
by: Massimo | last post by:
I'm planning to develop a .NET application using C#, in order to sell it as a shareware and/or as a full package, so I'll need a good way to protect it against piracy. I know some ways to protect...
23
by: Luc | last post by:
how can I copy protect the text content of my webpage?
4
by: GiladP1 | last post by:
Hi, I want to copy protect my application. I want to limit its use for a given period of time, say 30 days, after which a license key will be needed. There are various issues to consider here...
10
by: Jose Jimenez | last post by:
Hi Folks I wonder if somebody can help me to copy protect a C program that runs under ms-dos compilated with djgpp... and gcc I have seen www.sofpro.com for references but the software has...
19
by: John | last post by:
I would like to use some third party software for copy protection, software that prevents from copy paste program to another computer (not obfuscator). I am looking for some good solution (hardware...
16
by: conrad | last post by:
What kind of problems could arise if one were to not cast the value of time() to unsigned int? What are the sections in the standard that provide the reasoning of any claims against such a...
12
by: Pioneer | last post by:
Hi, I would be installing a desktop application on a standalone PC. How do I make sure that owner should not be ableto copy that and/or give it to other folks. In short, how to build measures to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.