2009-09-30 49 views
3

我有一些的同事誰擁有建立一個WCF服務及其安全設置如下:。安全模式=「無

security mode="None" 
    transport clientCredentialType="Windows" proxyCredentialType="None" realm="" 
    message clientCredentialType="Windows" negotiateServiceCredential="true" 
     establishSecurityContext="true" 
security 

是否是有意義的指定安全模式=」無」,然後指定運輸/信息安全下方

+0

看起來像一個重複: http://stackoverflow.com/questions/2679999/wcf-with-no-security – 2012-12-22 23:23:36

回答

5

這僅僅是基本沒有安全在所有 - ?這沒有任何意義 - 除了也許開發時間:-)

如果你有<security mode="None">然後您沒有考慮到您在下面指定的內容 - 您也可以將其忽略。

1

它沒有任何傷害,mode =「None」值意味着將不會使用任何消息或傳輸的單個設置。