保护 ASP.NET 身份验证 cookie 不被移动到另一台计算机

发布于 2025-01-06 01:10:42 字数 58 浏览 0 评论 0原文

如何保护 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦中楼上月下 2025-01-13 01:10:42

如果您想防止黑客嗅探(通过空中或窃听)身份验证 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文