ASP.NET和Internet浏览器SSL证书 [英] ASP.NET and Internet Browser SSL Certificates

查看:119
本文介绍了ASP.NET和Internet浏览器SSL证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过SSL连接使用ASP.NET时,我可以从Request.ClientCertificate中收集信息.我想在以后的请求中使用此信息来识别计算机.
这个信息可靠吗?证书是否经常更改?该证书通常由用户(他们的计算机,操作系统,浏览器)生成吗?我还应该问其他问题吗?
对于任何好奇的人,我都会将其用作自动登录.就像我们要使用Cookie一样.使用Cookie是更好还是更安全?一位同事担心cookie可能会从一台计算机复制到另一台计算机(我什至不知道是否有可能).

When using ASP.NET over an SSL connection I can gather information from the Request.ClientCertificate. I want to use this information in future requests to identify a computer.
Is this infromation reliable? Does the certificate change frequently? Is this certificate typically generated by the user(their computer, OS, Browser)? Should I have asked any additional questions.
For anyone curious I would be using this as an automatic logon. Like we would do with a cookie. Is it better or safer to use the cookie? A colleague is concerned that the cookie could be copied from one computer to another(I don''t know if that''s even possible).

推荐答案

链接 http://weblogs.asp.net/pwilson/archive/2004/12/23 /331455.aspx [ ^ ]

这可能会回答您所有的问题.
Try the link http://weblogs.asp.net/pwilson/archive/2004/12/23/331455.aspx[^]

This may answer all your questions.


这篇关于ASP.NET和Internet浏览器SSL证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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