472,780 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 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 3590
"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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.