Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION failedlogins.log
#1
In the failed connections file I find a few IPs with failed connection attempts that I don't recognize. How can I block access to these IPs?
Reply
#2
(2024-01-13, 17:39:24),LogicPHP Wrote: In the failed connections file I find a few IPs with failed connection attempts that I don't recognize. How can I block access to these IPs?


Use your existing .htaccess file located in the root, add something similar to the following:



Code:
# Blocked IP Addresses
Order Deny,Allow
Deny from 123.45.67.89
Deny from 123.45.67.90


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#3
(2024-01-13, 20:08:11)islander Wrote:
(2024-01-13, 17:39:24),LogicPHP Wrote: In the failed connections file I find a few IPs with failed connection attempts that I don't recognize. How can I block access to these IPs?


Use your existing .htaccess file located in the root, add something similar to the following:



Code:
# Blocked IP Addresses
Order Deny,Allow
Deny from 123.45.67.89
Deny from 123.45.67.90

thanks for the reply
Reply




Users browsing this thread: 1 Guest(s)