How to secure a Silverlight-Enabled WCF Web Service with SSL?

后端 未结 4 1790
心在旅途
心在旅途 2021-02-03 14:09

How do you secure a Silverlight-Enabled WCF Web Service with SSL? I have tried setting it up similar to a regular WCF service secured by SSL, but it doesn\'t seem to work. Wha

4条回答
  •  悲哀的现实
    2021-02-03 14:39

    in the ServiceReferences.ClientConfig file of the Silverlight client app that the "Binding" tag only allows basicHttpBinding and NOT wsHttpBinding. Does this mean that you can not secure a Silverlight-Enabled WCF Service?

    No, it doesn't mean that. You can have a basicHttpBinding and still assign transport-level security (HTTPS with SSL) to it. That shouldn't be a problem.

    Marc

    PS: Many one of those links gives you more insight and the proverbial "AHA!" :-)

    • http://winterdom.com/2007/11/basichttpbindingwithtransportsecurity
    • http://silverlight.net/forums/p/13275/44170.aspx
    • http://kevindockx.blogspot.com/2009/02/username-authentication-with.html
    • http://www.pixel73.com/blog/Default.aspx?g=posts&t=4173
    • http://community.irritatedvowel.com/blogs/pete_browns_blog/archive/2008/03/19/WCF-Integration-in-Silverlight-2-Beta-1.aspx
    • http://geekswithblogs.net/scottthompson/archive/2009/03/25/setting-up-ssl-between-silverlight-and-wcf-under-iis7.aspx

提交回复
热议问题