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



Closed Thread
Old 08-30-2010, 06:07 AM IP Blocking
Novice Talker

Posts: 2
Location: http://ccnaanswers.com
Trades: 0
How to block an IP from any country

Thanks for your help in advance
__________________

Please login or register to view this content. Registration is FREE
jeffrey78 is offline
View Public Profile Visit jeffrey78's homepage!
 
 
Register now for full access!
Old 08-30-2010, 07:06 AM Re: IP Blocking
Skilled Talker

Posts: 60
Trades: 0
I don't know about .asp or windows servers, but linux you can do it at the server level, or shared hosting can do it with .htaccess with a bit of entries into the file which could result in a large file. Search google for it I have found some really good tools that seem to know all countries ip ranges. Whether they are updated regularly I am not sure. But still it save a lot of time going through log files to find the culprit.
__________________

Please login or register to view this content. Registration is FREE
gameutopia is offline
View Public Profile Visit gameutopia's homepage!
 
Old 08-30-2010, 08:06 AM Re: IP Blocking
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,336
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You need a list of IPs to block and compare it against request.servervariables("REMOTE_IP")
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 09-08-2010, 01:43 PM Re: IP Blocking
Novice Talker

Posts: 2
Location: http://ccnaanswers.com
Trades: 0
thank you for your help, I solved the problem
__________________

Please login or register to view this content. Registration is FREE
jeffrey78 is offline
View Public Profile Visit jeffrey78's homepage!
 
Closed Thread     « Reply to IP Blocking
 

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 1.60781 seconds with 12 queries