保护 ASP.NET 身份验证 cookie 不被移动到另一台计算机
如何保护 ASP.NET 身份验证 Cookie 不被移动到另一台计算机?我的意思是避免非法访问系统。
How to protect asp.net authentication cookie from moving to another computer? I mean to avoid illegal access to the system.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想防止黑客嗅探(通过空中或窃听)身份验证 cookie 并在另一台计算机上使用它,您必须确保使用 https 而不是 http 为您的网站提供服务。
If you want to prevent a hacker from sniffing (by air, or by wire-tapping) the authentication cookie and using it on another computer, you have to ensure that you serve your website using https, rather than http.