anybody knows of blocking certain users (by IP) from accessing your website (website on asp.net mvc).
EDIT:
I know that web-servers can do this as well, but I need this at the application level
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s better to do this in the web server.
However, if you want to do it in code, you can handle the
Application.BeginRequestevent, checkRequest.UserHostAddress, and callResponse.End.