帮助athorization安全实施 [英] Help with athorization Security Implemetation

查看:65
本文介绍了帮助athorization安全实施的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我想在我的ASP.NET应用程序上实现一种安全性.我已经创建了一个接受用户登录信息的ASP.NET应用程序,但是如果我应该在网络上的一个系统上登录到该应用程序,我意识到我也可以使用另一个系统再次登录到该应用程序.请问我该如何禁止ASP.NET应用程序一次只允许一个用户登录该帐户.另外,如果用户尝试登录三次并失败,我想关闭向用户显示错误并重定向到另一个页面.


解决方案

您可以检查REMOTE_ADDR服务器变量以获取远程客户端IP地址并禁止第二个连接.


Hi Guys.

I want to implement a kind of security on my ASP.NET Application. I have created created an ASP.NET application that accept users login information, but if i should login on one system on the network into the application, i realize that i can also login into the application again using another system. Please how can i put a bar to that allowing my ASP.NET application to only let one user login into there account at a time. And also if a user try loging in three times and failed, i want to close display an error to the user and redirect to another page.


Thanks

解决方案

You can check the REMOTE_ADDR server variable to get the remote client IP address and disallow the second connection.


这篇关于帮助athorization安全实施的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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