是否设置安全模式=运输自动使它成为一个HTTPS Web服务安全吗? [英] Does setting Security Mode = Transport automatically make it secure in a HTTPS web service?

查看:225
本文介绍了是否设置安全模式=运输自动使它成为一个HTTPS Web服务安全吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web服务,我们目前正在托管在一个HTTPS站点。

I have a web service and we're currently hosting it in a HTTPS site.

我的结合是这样的。

  <wsHttpBinding>
    <binding maxReceivedMessageSize="2000000" >
      <readerQuotas  maxStringContentLength="2147483647"   />
      <security mode="Transport">
      </security>
    </binding>
  </wsHttpBinding>

和它似乎运作良好。但我的主要目的是确保Web服务请求和响应进行加密。我不知道很多关于Web服务,但是是所有有给它?

And it seems to work well. But my main aim is to make sure the web service requests and responses are encrypted. I don't know much about web services but is that all there is to it?

只需使用HTTPS,并把此行您的配置?

Just use HTTPS and put this line in your configuration?

  <security mode="Transport">
  </security>

或者是有更多的呢?我怎么能知道消息的发送的加密或不?

Or is there more to it? How can I know if the message's sent are encrypted or not?

推荐答案

是的,这就是全部。该模式传输要求传输层安全性而你的情况是指HTTPS。如果你想看到的信息是加密的,你必须使用一些网络监测工具(提琴手,Wireshark的,等等。)

Yes that's all. The mode Transport demands transport level security which in your case means HTTPS. If you want to see that messages are encrypted you must use some network monitoring tool (Fiddler, WireShark, etc.)

这篇关于是否设置安全模式=运输自动使它成为一个HTTPS Web服务安全吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆