Forum Moderators: DixonJones

Message Too Old, No Replies

Tracking and blocking certain IP addresses

How do i do that?

         

Rocknroll

4:34 pm on Jun 9, 2004 (gmt 0)

10+ Year Member



I am facing a trouble with my e-commerce website. I usually get hundreds of orders within an hour with enormous amount of $$ ( I wish!). It happens every minute over a period of time and happens occasionaly. I suspect that some tries to check crecit cards or smth like that. My question is : Is there some way i can track IP of these orders/users and block them from accessing my website? Is that even possible? Please help

Karu

4:55 pm on Jun 10, 2004 (gmt 0)

10+ Year Member



Hi! I don't know if it will useful for you, but I do the following: I ask for client IP using Request.ServerVariables("REMOTE_ADDR"), I look for that IP in a database, if it already exist, increment a value on a different field of the same DB; if it doesn't exist, add it to the DB. At the end of the day, you can use these values to get statistics.
I don't know if it's the best solution but it works for me!
Good luck!

Regards

Karu

Karu

4:59 pm on Jun 10, 2004 (gmt 0)

10+ Year Member



I'm sorry, I forgot something! Then, based in the statistics, you can compare each incoming IP and decide which to block (you could use respose.redirect to send them to a customized error page).

Karu