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

Securing service communication using message-based security

Applies to Silverlight 4 and 5

Service-oriented solutions typically require the services to know which user is accessing them, whether this user is authenticated or not, and even whether this user is authorized or not. If you don't implement these checks and if your services are hosted in a publicly available, uncontrolled environment, everyone will be able to access them. This is definitely something you don't want, especially if confidential data is fetched or even edited using service calls.

To resolve this, we need to make sure that certain service methods are accessible only to certain persons. A typical way of doing this is by using message-based security, which in this case means ...

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