If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Registration Process

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-16-11, 13:34
randydom randydom is offline
Registered User
 
Join Date: Nov 2011
Posts: 2
Registration Process

Hi, I've a MySql database hosted in my web site, with a table named UsrLic
Where any one wants to buy my software must register and enter his/her Generated Machine Key (+ username, email ...etc).

So my question is:

I want to automate this process from my software, how this Process will be?
Should I connect and update my database directly from my software ( and this means I must save all my database connection parameters in it * my database username , password , server * and then use ADO or MyDac to connect to this database ? and if yes how secure is this process ?

or any other suggestions .
Reply With Quote
  #2 (permalink)  
Old 11-16-11, 14:00
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
I would connect through a web service. If it's worth the investment, you can could protect the service itself with SSL.
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
  #3 (permalink)  
Old 11-16-11, 14:22
randydom randydom is offline
Registered User
 
Join Date: Nov 2011
Posts: 2
Thank you Teddy, could you please give me a little working sample or how this web service should be?
I'm not talking about the web service itself but its structure
Reply With Quote
  #4 (permalink)  
Old 11-16-11, 16:12
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
You could go all kinds of different directions with it. You can wrap anything you would have normally done with a raw database connection in a web service call.

In your example, you would only have to include a (perhaps configurable) url that points at your "registration" service. The software can then attempt to hit that URL and provide the same critical information that you would have supplied via a raw query. Behind the scenes, the service hits the database and registers the information.

What happens next is up to you. Does the software store some kind of activation key locally once it's registered? Your service can return whatever information is needed to continue using the software assuming conditions are met. Does it check to make sure it's registered at each startup (requiring access to your service at all times)? If that's the case, you could pursue remote authentication where users must "log in" to your service(s) before being allowed to continue. Single sign on or SSO services provide some patterns/technology you could use to implement remote auth.
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On