Link to home
Start Free TrialLog in
Avatar of noulouk
noulouk

asked on

Windows App + Webservice

Hi Experts,

I build a windows application which is linked to a webservice.
My app is distributed over the net to anyone.
I wanted to know if it's possible to be sure that the app I developped is using my webservice and not another (hacked one for instance) ?

Thanks in advance for your answers.

(I've read lots of docs about webservices: autentication,... but I can't find an answer to my question)
Avatar of NipNFriar_Tuck
NipNFriar_Tuck

Hmmm.... If you use the security token that DotNET provides that gaurantees (as best as it can) that the token is from where it sais it is... Basically the token is an encrypted hash that has information about the machine it came from so that when it is decrypted if it was intercepted and altered the decrypted will throw an exception (as I understand).  You can also add information to this enrypted security token from your web service and your applications and have each check for that information...  Here are a couple of sites you can check out for more inofrmation...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/authaspdotnet.asp
http://www.c-sharpcorner.com/Code/2004/Oct/WSSecurityProtocol.asp
http://www.codeproject.com/cs/webservices/WSSecurity.asp
http://aspnet.4guysfromrolla.com/articles/071404-1.aspx

HTH
Avatar of noulouk

ASKER

Well thanks HTH, I know those features and I'm not really satisfy.
I think it's less easy to hack, but possible.
In fact, the best way is when I update my windows app, I stop my old webservice (old versions of my app can't work) and create a new webservice for my last version.
Do you think this is realistic or could you give me your opinion or another idea ?
ASKER CERTIFIED SOLUTION
Avatar of NipNFriar_Tuck
NipNFriar_Tuck

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial