O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ensuring data is encrypted

Applies to Silverlight 4 and 5

In Silverlight, you'll typically work with services oriented through WCF services, REST services, and so on. However, this implies that your data is sent over the wire in an unencrypted format. This is not much of a problem in most controlled environments. But what if the data is sent through an uncontrolled environment (for example the Internet)? It could be easily intercepted by someone with bad intentions. While that's bad when you're sending confidential data, it's even worse when your message header includes a username/password combination.

In this recipe, you'll learn how to make sure that the data sent over the wire is encrypted using Secure Socket Layer communication (SSL) .

Getting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required