asp连接HTTPS和Fiddler在Web窗体和TextView中显示密码

时间:2013-02-26 15:40:57

标签: ssl asp.net-mvc-4 https fiddler

我有一个问题。我在ASP.NET MVC 4中使用连接SSL(https)配置了一个Web。但是,当我用一个简单的表格发送我的凭证时,Fiddler 2以文本格式显示我的凭证......

我的网络配置文件:

 <authentication mode ="Forms">
  <forms loginUrl="~/Account/LogOn" timeout="20"  protection="All" requireSSL="true"  />
  <!--  <forms loginUrl="~/Account/LogOn" timeout="20"  protection="All"   requireSSL="true" /> -->
</authentication>


<httpCookies httpOnlyCookies="true" requireSSL="true" lockItem="true"/>

和全局文件:

filters.Add(new HandleErrorAttribute());
        filters.Add(new System.Web.Mvc.AuthorizeAttribute());
        filters.Add(new RequireHttpsAttribute());

任何帮助?谢谢!

1 个答案:

答案 0 :(得分:0)

这是完全正常的。 Fiddler注册为您的Web浏览器的代理,这意味着它将看到未加密的流量。没什么好担心的。如果在网络上有一个中间人听,他将无法看到这一点。