Hi, this is my first post. I have a website www.psychopanic.com and theres an IP address that I want banned from accessing my site (203.213.0.10). Does anyone here know how to make a MsSQL script that can ban ip addresses? my webhosting Plesk control panel only lets me use MsSQL.
thank you :eek: :rolleyes:
kitkatsavvy
0
Newbie Poster
Recommended Answers
Jump to PostIP Guardian is designed to be an easy to use IP filtering system to secure your ASP pages against unauthorized visitors. You simply enter the IP addresses into the program and it does the rest.
Statistics will show you how many times a banned IP has attempted to visit your …
Jump to Postyou need to create table tb_IPList (IP varchar(20)) and code (in ASP) below:
<%
option explicitDim Conn as object
Dim RS as objectset Conn = createobject("ADODB.Connection")
Conn.Mode = 3
Conn.open "DRIVER={SQL Server};Server=YourServer;Database=YourDB"set RS = Conn.execute ("select 1 from tb_IPList where IP = '" + …
All 6 Replies
Estuardo
0
Newbie Poster
kitkatsavvy
0
Newbie Poster
abdul_basit1299
0
Newbie Poster
ipban
0
Newbie Poster
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
huangzhi
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.