Kolpime
Kolpime

Reputation: 51

Is this a good concept for a serial key activation using a web service?

I am writing a windows desktop application in WPF. I need to add in an activation process and was wondering if I have the right idea

This is the process I was thinking of implementing. Would this be the best solution

Needs activation

Already active(registry key with activation key present)

Asides from wondering if this is the correct way to do this I have a few additional concerns:

The webservice will need to be secured The user will need to have internet access at whenever they start up the program so that i can check the webservice

Any advice anyone can give would be greatly appreciated. I couldn't find any answers out there.

Upvotes: 4

Views: 884

Answers (2)

Jose
Jose

Reputation: 187

Sounds good but you need to keep in mind:

  • The connection to the webservice must be secured with SSL.
  • The exchange of messages between the web service must be signed with some form of private/public key so the client knows the message really comes from the server and users don't create their own activation servers.
  • Your webservice must be on servers with high availability (you don't want angry users calling because they can't get their work done).
  • The HDD serial number can be changed. You may want to combine that with something else.

Upvotes: 1

Samuel Alp
Samuel Alp

Reputation: 1

The concept you came up with it good so far, but since you require the user to be online at all times i would additionally encrypt the data with RSA.

Your product gets the public key hardcoded and the data you send to the server gets sent back encrypted with the private RSA key. This way you can prevent them from using self made activation servers that do nothing but say "eveything is a-okay, you're activated."

Upvotes: 0

Related Questions