Securing WCF service using basicHttpBinding which supports streaming

后端 未结 6 714
日久生厌
日久生厌 2021-02-01 09:04

My question is in regards to the best (aka \"least painful\") way to secure access to a WCF service that is only exposed to our company\'s internal users. The goal is to ensure

6条回答
  •  梦毁少年i
    2021-02-01 09:30

    It is possible to use Windows authentication with Streaming and SSL, but you must use TransportWithMessageCredential:

    
        
            
            
                
            
        
    
    

    You need to set in code proxy.ClientCredentials.UserName.UserName and proxy.ClientCredentials.UserName.Password.

提交回复
热议问题