Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 06-28-2006, 10:14 PM How to block user
Junior Talker

Posts: 3
Name: Pop
Trades: 0
I have a memorial web page for my grand-daughter and some fool in Korea is posting senseless messages in the guestbook. I have two different IP address on this person. Only the first three digits are constant. The others change. I tracked the IP addresses to a server in Korea. How can I block this person? Or, can I block users from the Korean server. Thank You Pop
popspipe is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2006, 11:14 PM Re: How to block user
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
Block the ip range.
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 06-28-2006, 11:19 PM Re: How to block user
Junior Talker

Posts: 3
Name: Pop
Trades: 0
I don't understand what you mean by IP range. Pop
popspipe is offline
Reply With Quote
View Public Profile
 
Old 06-28-2006, 11:58 PM Re: How to block user
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
202.333.333.1 to 202.333.333.254
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 06-29-2006, 12:09 AM Re: How to block user
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
Check out this site, you will like it. Lots of tools
http://webwizguide.com/
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Old 06-29-2006, 06:00 AM Re: How to block user
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
You can use Request.ServerVariables("REMOTE_ADDR") to get the visitor's IP Address. So you could do:
Code:
If (Request.ServerVariables("REMOTE_ADDR") = "xxx.xxx.xxx.xxx") or (Request.ServerVariables("REMOTE_ADDR") = "yyy.yyy.yyy.yyy") then Response.Redirect("http://spam.abuse.net/")
Guestbooks are genrally a bad idea. They're an open invitation to spam, and if the visitors e-mail address is shown on the list, it makes matters a whole lot worse.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by Minaki; 06-29-2006 at 06:02 AM..
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 06-30-2006, 09:50 AM Re: How to block user
Extreme Talker

Posts: 170
Name: XpIndia.Com
Trades: 0
Quote:
Originally Posted by Minaki
You can use Request.ServerVariables("REMOTE_ADDR") to get the visitor's IP Address. So you could do:
Code:
If (Request.ServerVariables("REMOTE_ADDR") = "xxx.xxx.xxx.xxx") or (Request.ServerVariables("REMOTE_ADDR") = "yyy.yyy.yyy.yyy") then Response.Redirect("http://spam.abuse.net/")
Guestbooks are genrally a bad idea. They're an open invitation to spam, and if the visitors e-mail address is shown on the list, it makes matters a whole lot worse.
I agree. I think it can be curtataile a bit if there is image verification code
for login page. My osticket support system is being abused by bots everyday.
__________________

Please login or register to view this content. Registration is FREE

Server alert/reseller-
Please login or register to view this content. Registration is FREE
XpIndia.Com is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to block user
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40499 seconds with 12 queries