activation programme

how i can make programme has ability to call my site on web & activate my original programme ?
i need answer in details.
How would the "original" program be stored on the web server? Executable? Web-Application? CGI?
web server or any way to protect my programme
tell me about way you know
thanks
I know 1,000+ different ways to setup and build an activation for software. However, the time it would take for me to explain any one of them in great detail is too large.

So, I will give you the fist of 1 simple way, and you can build on that.

Server Side:
Server-Side web-application (PHP/ASP etc) will connect to a database and read out known keys for an application. If the key has been accepted and the product is ok to be activated them it will return an xml-document through a web-interface.

Client-Side:
An XML parser will generate application information and then send a request to the web-server for activation. It will then parse the returning XML document and decide what to do based on this. Local information is stored in the registry on Windows/Configuration files on Linux.

That should be more than enough for you to work out a simple Activation system. NO activation system is un-crackable. None, regardless.

Now, Before you ask another question. Read this:
http://www.cplusplus.com/forum/articles/1295/

As this question isn't exactly C++ related.


thanx for answer
i dont understand your last massage because im begainer in c++
& it is my frist langue & know nothing in database & xml
but when i learn then i will underatnd this surly.

Creating an activation system for any software is hardly a trivial task.

For a semi-decent one you'd have to be familiar with atleast:
- Networking and Network Programming
- Database Usage and Database Development
- Web-Standards or XML
- Web Development (in ASP/PHP or another Server-Side technology)
- Encryption or Ciphering. Preferably a Public/Private Key Encryption Technology
- C++
Question: what for do you want a copy-protection if you lack the knowledge to produce a program to copy-protect?!?
Topic archived. No new replies allowed.