Forums / General Questions / How can I block IP addresses from my site?

How can I block IP addresses from my site?

Started by beyond_dreams on 5 Jun 2013, 9:30 PM · Views: 1,216

Results 1 to 3 of 3
5 Jun 2013, 9:30 PM
#1
beyond_dreams avatar

beyond_dreams

New Zenner

Join Date:
Feb 2013
Posts:
45
Plugin Contributions:
0

How can I block IP addresses from my site?

Hi,

I have noticed a trend of certain ip addresses in other countries frequenting my site. I do not sell to those countries and yet they visit every day and seem to show that they have almost 200 pages on my site open. Showing 200 visitors on my site. When I use the admin tool to see what they are looking at I see a reference to admin and password in the link. I want to be able to block this ip just in case they are up to no good.

I have zen cart v1.5.1 is there a plugin for this? Or is there any way to block them from getting on my site?

Thank you in advance for any help you can give me.

-Victoria

5 Jun 2013, 9:49 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How can I block IP addresses from my site?

This isn't a Zen Cart issue. There is no plugin to do that, because it's something that is best done at the server level.

Log a support ticket with your hosting company and ask them to help you block those IP addresses from accessing your store.
They usually have an option in your hosting control panel to control access to folders.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Jun 2013, 9:51 PM
#3
beyond_dreams avatar

beyond_dreams

New Zenner

Join Date:
Feb 2013
Posts:
45
Plugin Contributions:
0

Re: How can I block IP addresses from my site?

Ty, so much for your help!