I have a site I am working on and ever since I upgraded to 3.0.2.0, I have someone that will create about 20 accounts every couple days. They are all from the same IP address. Is there any way to block an IP address? I have 3 sites with this version of Open Cart and only have the problem on one site. I don't know what they are trying do?
All the accounts have different names and email address's, but the same IP address.
All the accounts have different names and email address's, but the same IP address.
Is this correct and does it matter where it is placed?
Order Deny,Allow
Deny from 77.232.66.255
Order Deny,Allow
Deny from 77.232.66.255
Code: Select all
<Files>
deny from 211.202.
deny from 212.
deny from 213.145.
deny from 213.251.
deny from 216.
deny from 217.
</Files>
COMES BEFORE:
# SEO URL Settings
RewriteEngine On
RewriteBase /
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
as bumcarks mentioned:
write the below code in .htaccess file and replace block IP
write the below code in .htaccess file and replace block IP
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I've tried both of these suggestions and they are still able to get in and create bogus accounts.
did you block the entire IP Number, or the first Sections, like:
deny from 4.251.121.
deny from 213.251.25.
because, if they use changing IP's, you have block entire
Subsections, not only individual Numbers, like
deny from 4.251.121.10
deny from 213.251.25.121
BUT, they have many ways, to fool you, when it comes to IP-Numbers,
and you could possibly have entered the content wrongly into the
.htaccess file, among some other settings, to make it unworkable,
so, it cannot be said, from far away, how this problem can be solved.
Ernie
deny from 4.251.121.
deny from 213.251.25.
because, if they use changing IP's, you have block entire
Subsections, not only individual Numbers, like
deny from 4.251.121.10
deny from 213.251.25.121
BUT, they have many ways, to fool you, when it comes to IP-Numbers,
and you could possibly have entered the content wrongly into the
.htaccess file, among some other settings, to make it unworkable,
so, it cannot be said, from far away, how this problem can be solved.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
If you want something that doesn't require htaccess, I have a Geo IP Tools extension that can be used for this. You can enter a list of IP addresses or IP ranges, and set a "blocked" message that users will see if they have a matching IP address. If blocked, that "blocked" page is the only page they'll be able to see. It also adds some data in the session to mark them as blocked, so even if they immediately switch their IP, it *should* keep them blocked (until their session is cleared).
Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.
Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.
Who is online
Users browsing this forum: No registered users and 95 guests