c++ - Application update server -


my application (qt, msvc2010) requires constant updates both in code (the executable file itself) , data (files used customer). main issue not every user has right download whole set of updates need way send him appropiate files. decided this:

  • client: send user id
  • server: check user id in database, send him appropiate updates
  • client: receive updates

at stage i'm not focusing on security issues (authentication, encryption), i'd know if there ready solution use or if have code myself. partial solution of great help. i'm not aware of server side application can handle kind of situation must admit not field.

last point: need avoid web based solution (user logging in website, php , on) long list of reasons.

thank you!

i don't know if it's answer, can describe how i've implemented similar design in simple way time ago.

1) client has version information build in (through .rc file) , user credentials 2) client access central database checking if there url it's current version , user credentials.

 select url table credentials , version more current version 

3) client fetches updates single zip file using url http/ftp using standard qt classes. if need custom made protocol might want implement logic on it. 4) client update based on received data 5) client notifies server update complete know whats installed where

it's simple skeleton lot of limitations, it's solved perfect needed in project. can deploy update particular user without affecting others.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -