Securing a WCF service so that it can only be called by a Silverlight application -


I am writing a Silverlight application that will be both reading and writing data to a server-side database through some WCF web services .

What is the best way to secure these web services?

My goal is to ensure that services can not be called from other applications and potentially can be spammed with requests to add items to the database. Only the Silverlight application should be able to access them.

In general, you can not believe the customer about non-silverlight applications If you try to avoid collision with your site, then a malicious client can easily pretend to be a Silverlight app, and you are back to square one.

This means that it is not an effective way to secure a server to secure your server, then assume that any and all clients will kill your site, and start from there.

Edit:

I should amend this saying that if you want to enter the world of reciprocal authentication, you will be able to issue user notifications for all your users, You can set up a PKI to manage certs, and then you can know who your users are, even though one of them can be malicious (and talented) and to any other client. Can Manit.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -