Stop an IP Address From Accessing Your Site

If you want to stop a user from accessing your website, you can do it by using some relatively simple code. First, you must know the IP address of the user. Then you can redirect him to some other page. In this case, the user is redirected to notallowed.asp.

 visitorIP = Request.ServerVariables(

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: