Try the Demo

Magento Forum

   
Blocking a IP number? 
 
Brake6
Sr. Member
 
Total Posts:  85
Joined:  2008-09-23
 

Hi
When checking \"Online customers\” in admin, there are around 400 entries from the same IP (seems to do a lot of searches). So I want to block that number, added

Deny from 80.69.225.182

In the htaccess file. Looks like this now:

Order allow,deny
Allow from all
Deny from 80.69.225.182

Restarted Apache – but that does not seems to work. The IP number is still showing up. Have I missed something?

Best regards, Magnus

 
Magento Community Magento Community
Magento Community
Magento Community
 
ben_marks
Moderator
 
Avatar
Total Posts:  448
Joined:  2008-10-09
Charleston, SC
 

Brake6,

Order allow,deny 
Deny from 80.69.225.182
Allow from all

should do the trick wink .

HTH
Ben

 Signature 

Ben Marks, MCD+ (@benmarks)Blue Acorn, a Magento Gold PartnereCommerce Consulting
New Magento StackExchange site proposal - follow & vote!
I do not respond to PMs.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brake6
Sr. Member
 
Total Posts:  85
Joined:  2008-09-23
 

Thanks blueben

I added that, restarted the “Container” (it’s a VPS) and restarted Apache. Also flushed the cache. And now, the bastard wink seems to be gone
smile

Best regards, Magnus

 
Magento Community Magento Community
Magento Community
Magento Community
 
SimpleHelix.com
Enthusiast
 
Avatar
Total Posts:  905
Joined:  2007-08-31
Huntsville, AL
 

Somewhat related, here’s how to block everyone but you from seeing the store (useful for maintenance) via .htaccess:

## Exception Below is your IP
RewriteCond %{REMOTE_ADDR} !^123\.45\.67\.89
RewriteCond %{REQUEST_URI} !/maintenance\.html$
RewriteRule .* /maintenance.html [R=302,L]

This will force anyone who is not loading from IP 123.45.67.89 to load /maintenance.html.

 Signature 

SimpleHelix, LLC
A World-Class Magento Web Hosting company - Providing scalable, reliable, and secure enterprise hosting solutions
The creators of super-fast performance hosting. Find out more @ http://www.SimpleHelix.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
webpark
Jr. Member
 
Total Posts:  9
Joined:  2011-01-27
 
SimpleHelix.com - 27 January 2011 02:46 PM

Somewhat related, here’s how to block everyone but you from seeing the store (useful for maintenance) via .htaccess:

## Exception Below is your IP
RewriteCond %{REMOTE_ADDR} !^123\.45\.67\.89
RewriteCond %{REQUEST_URI} !/maintenance\.html$
RewriteRule .* /maintenance.html [R=302,L]

This will force anyone who is not loading from IP 123.45.67.89 to load /maintenance.html.

Just record it to my note.

 Signature 

My hosting review Website http://www.webhostpark.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
nht48823
Sr. Member
 
Total Posts:  78
Joined:  2010-03-30
 

where do you exactly ad this In the htaccess file. I have similar issue.

blueben - 20 January 2011 11:48 AM

Brake6,

Order allow,deny 
Deny from 80.69.225.182
Allow from all

should do the trick wink .

HTH
Ben

 
Magento Community Magento Community
Magento Community
Magento Community
 
hxd
Sr. Member
 
Avatar
Total Posts:  213
Joined:  2011-02-03
 

Add it at the top of your .htaccess file and it should work without any problems.

 Signature 

HostKnox.com
Check out our exclusive Magento hosting services. Free Magento installation. Free Magento upgrade.

 
Magento Community Magento Community
Magento Community
Magento Community
 
redstage
Sr. Member
 
Avatar
Total Posts:  171
Joined:  2009-12-04
Hoboken, NJ
 

If you don’t want to mess with your htaccess file everytime you need to block an IP, or you have additional complications like multi-store…

We developed a neat little extension to blacklist IP addresses: http://store.redstage.com/ip-blacklist.html

 Signature 

For stable and cutting edge Magento extensions, check out the Redstage Extensions Store!

Having done work on over 300 Magento sites, Redstage is the most advanced and experienced agency in the industry.  Interested in working with us?  Check us out

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brynnae
Member
 
Avatar
Total Posts:  36
Joined:  2012-04-17
California
 

Which other way we can deny the IP address from online store? Brainstorm and give answer. I need some unique answer that I am searching for. Thanks in advance.

 Signature 

SPINX – A DIGITAL AGENCY: Website Development Service Provider based on Magento Platform
http://www.spinxwebdesign.com/magento-development/

 
Magento Community Magento Community
Magento Community
Magento Community
 
ashokverma
Jr. Member
 
Total Posts:  9
Joined:  2013-04-09
 

Hello

This issue is bigger for your store and you have to check what is the purpose of that ip, if this ip is giving you benefit then ok.

If you feel this IP is not beneficial you can block this IP from number of specific IP blocking extensions. Being a developer I will suggest that extension which can solve you lot of issue or error. You have to use that extension which have specific country block option, specific IP blocking option, specific product blocking option, auto or manual ACL (Access Control List) maker. Let me search a powerful extension that can solve you all issues. Magento Geo-IP Ultimate Extension is good and most of options have in this site.

 
Magento Community Magento Community
Magento Community
Magento Community
 
shivshaktibrass
Jr. Member
 
Total Posts:  5
Joined:  2013-04-26
 

If you block an IP address in any of the following ranges, you are required to immediately notify the Wikimedia Foundation Communications Committee. These ranges are allocated to major governmental organizations and blocks of these organizations have political and public relations implications that must be managed by the Foundation’s press relations team.

 Signature 

Aluminium parts manufacturers india

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top