c# - WCF Security License Scenario -
we trying build best security scenario our case.
one company can install our software in multiple computers. 1 company can buy multiple licenses can shared between employees. every time 1 employee wants use our software, he/she able see popup screen licenses company has bought shown. then, if license being used, employee able see using it.
- no password has entered in order see company licenses. there need distinguish licenses company has bought. 
- when user wants use license (use application), have enter own password. 
the connection between wpf application , server done using wcf service. there must kind of token check if connection server still possible every 5 minutes otherwise application close.
what have thought here deploy 1 certificate every company. whenever company authenticated using certificate, able show company licenses whenever application launched.
then, when user wants open application, select 1 license, , password box prompted. authentication done using sqlmembershipprovider.
would possible implemented? please tell thought it.
you haven't told server hosted - on-premise or central location. , needed unnamed licenses track concurrent users (or concurrent sessions i.e. same user may use application multiple computers). outline of have done on-premise server:
- for every company, create license file. simple xml file containing data such number of licenses, expiry date, company identifier (& other information). important thing encrypt contents using private key. should store hash check against tampering
- the license file given each company place on server @ configured location. license delivery can manual (email/web download) or automated (provide registration key download license)
- server code read license using public key , apply licensing rules.
- for centrally hosted server, outline similar license store in control , such there no need encrypt data. however, important issue each company identifier token (say digital certificate) can track license against correct company.
user authentication such unrelated , can use authentication scheme want. whenever user authenticated (say using user-name/password), license marked consumed. central server (hosted services) model, can use user authentication authenticate company (w/o issuing separate digital certificate them).
Comments
Post a Comment