473,486 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Licensing issue to my windows-based app

7 New Member
HI,

I have developed a windows-based app, and I am going to put it on the web and sell it.

I am getting stuck on the licensing problem at the monment, I can inject a piece of code using algorithm and encryption method in my app then deploy it. my customers will have to buy a registration key to open the downloaded software.

The problem is how I can prevent my customers using one registration key to open many copy of downloaded software?

any ideas?
Apr 2 '07 #1
8 1134
kenobewan
4,871 Recognized Expert Specialist
Welcome to the site. Are you going to give us a percentage if we solve it? ;). I believe this is a very optimistic question to place on a forum. My understanding is that even the big boys struggle with this one - that is why there are so many web apps where the user has to register to use.

So I would be use a web app if possible, if you need to ask this question you are just going to have to settle for the fact that it may be shared. Otherwise change your business model.
Apr 3 '07 #2
Motoma
3,237 Recognized Expert Specialist
Create an algorithm to which calculates something based on certain circumstances in the machine it is running on. Make it so that it differs each time you try to generate the code. Have your end user call in the code and software serial number, and give them the correct activation code (which relies on the other two pieces of information) over the phone.
Apr 3 '07 #3
kenny9239
7 New Member
Welcome to the site. Are you going to give us a percentage if we solve it? ;). I believe this is a very optimistic question to place on a forum. My understanding is that even the big boys struggle with this one - that is why there are so many web apps where the user has to register to use.

So I would be use a web app if possible, if you need to ask this question you are just going to have to settle for the fact that it may be shared. Otherwise change your business model.
The App is a off-line product, so it has to be a windows-based app not a web-based app.:-(
Apr 3 '07 #4
Motoma
3,237 Recognized Expert Specialist
The App is a off-line product, so it has to be a windows-based app not a web-based app.:-(
I think what was meant is that you would have a web-service running to perform first-time authentication and license validation.
Apr 3 '07 #5
kenny9239
7 New Member
Create an algorithm to which calculates something based on certain circumstances in the machine it is running on. Make it so that it differs each time you try to generate the code. Have your end user call in the code and software serial number, and give them the correct activation code (which relies on the other two pieces of information) over the phone.
Thanks. that is the only solution i got so far. But with this solution, I will have to deploy my app for each individual download copy, and each of them I will need to embed a unique serial number. this deployment process will be huge amount of work and it will take heaps of space out of my web space to store each download copy...

u know what i mean?
Apr 3 '07 #6
Motoma
3,237 Recognized Expert Specialist
Thanks. that is the only solution i got so far. But with this solution, I will have to deploy my app for each individual download copy, and each of them I will need to embed a unique serial number. this deployment process will be huge amount of work and it will take heaps of space out of my web space to store each download copy...

u know what i mean?
You are completely wrong.
You can create a formula or function that validates a serial. The flow will be something like this:

a) you give the user a serial number (on a piece of paper or the sleeve of the CD)
b) the user installs the software, and is asked for the serial
c) the software generates a 'random' number based on certain states of the hardware (date, time, hardware address, size of the registry)
d) the serial number and random number are sent to your web-service
e) your web-service delivers a third number, the validation key
f) the user's software take the serial number, random number, and validation key, and validates that the three work together
g) if not the user is prompted again

Example:
The Validate() function takes three integers, and checks that they add to 10.
The user gets a Serial Number of 1398.
When the software is installed, the random number -293484 is generated.
These two numbers are sent to the server.
The server (after collecting/verifying things like email address, phone number, and registered name) figures out that the response number should be 292096.
The Validate function takes the Serial (1398) the random number (-293484) and the validation response (292096) and adds them together to get 10. Knowing that 10 is the number it needs, it validates the user's software.

The strength of this system relies on the mathematical complexity of the authentication algorithm. If your validation is just "Add up to 10," you aren't going to have a good licensing scheme.
Apr 3 '07 #7
kenny9239
7 New Member
You are completely wrong.
You can create a formula or function that validates a serial. The flow will be something like this:

a) you give the user a serial number (on a piece of paper or the sleeve of the CD)
b) the user installs the software, and is asked for the serial
c) the software generates a 'random' number based on certain states of the hardware (date, time, hardware address, size of the registry)
d) the serial number and random number are sent to your web-service
e) your web-service delivers a third number, the validation key
f) the user's software take the serial number, random number, and validation key, and validates that the three work together
g) if not the user is prompted again

Example:
The Validate() function takes three integers, and checks that they add to 10.
The user gets a Serial Number of 1398.
When the software is installed, the random number -293484 is generated.
These two numbers are sent to the server.
The server (after collecting/verifying things like email address, phone number, and registered name) figures out that the response number should be 292096.
The Validate function takes the Serial (1398) the random number (-293484) and the validation response (292096) and adds them together to get 10. Knowing that 10 is the number it needs, it validates the user's software.

The strength of this system relies on the mathematical complexity of the authentication algorithm. If your validation is just "Add up to 10," you aren't going to have a good licensing scheme.

Heaps of thanks! I think I got what u mean.
For example:
01(Serial Number) + 02(radom number) + 08(Web Respond Registry Key) = 10

and this numbers are all encrypted, so the end users will not be able to see the claculation.

Is that right?
Apr 4 '07 #8
Motoma
3,237 Recognized Expert Specialist
Heaps of thanks! I think I got what u mean.
For example:
01(Serial Number) + 02(radom number) + 08(Web Respond Registry Key) = 10

and this numbers are all encrypted, so the end users will not be able to see the claculation.

Is that right?
Right, but mine was only a simple case. I would suggest you use something a little more advanced, such as a public/private key system.
Apr 4 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

18
3486
by: Adrian B. | last post by:
Does anyone know of a framework or library that will enable me to use publish/subscribe comms? I want to create a server (using Python) running on a Unix box that will accept client connections...
3
2056
by: Fabio | last post by:
Hi all, I'm about to write an application, and I'd like to use PyQt, but before choosing this toolkit I would like to clarify some particular licensing issues; if some user has already touched...
11
10085
by: ML | last post by:
Does anyone have any info on sample code for handling activation/licensing for a vb.net app? Just looking for something fairly basic to implement the ability to have an application registered and...
9
5525
by: vbdotnetmania | last post by:
Hi, I have looked through similar posts and have found Ken Tucker giving the reply about looking at article http://windowsforms.net/articles/Licensing.aspx This appears to be for controls and...
10
2745
by: Mitchell Vincent | last post by:
I'm in the market for a new software licensing system to protect my shareware. Can anyone make some suggestions of protection/licensing systems (especially for .NET, but not exclusively)? My...
2
1371
by: twotoed | last post by:
Hi, Does anyone have any experience with/suggestions for using a webservice for product licensing? What I have in mind is something like where the client app sends their product key to the...
2
1279
by: Howard | last post by:
I confused about MS licensing policies. If i have a sql server 2005 standard edition 5 CAL license and i hst a website with it. does it mean my site can only have 5 concurrent visitors? same...
1
1929
by: Pashkuale | last post by:
Hi to everyone, probably it's a faq but I did not find a sure answer. A customer has a Sql Server 2000 standard installed in 1server/5CAL licensing mode, in a windows 2000 server. Does this type...
4
1855
by: Steve | last post by:
I'm in the process of finishing a vb2005 application for commerical use, and wanted to know if anyone has any favorites for licensing software? Would like something reasonably priced for a...
14
2627
by: Guillermo_Lopez | last post by:
Hello, Our company has developed several Access applications for our clients and we wish to expand to use a database server. We wish to use Access as the front end application and SQL Server...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7123
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,...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5430
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,...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.