Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
How can I prevent that banned users/IP can still login at our forum? I've banned several IP's but they keep comming back browsing & searching our forum...

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Blocking an IP via ban would be pretty high load - really slow things down. Bans just stop them from posting. Blocking them via the server is much more effective - see this post:
http://www.ubbcentral.com/boards/showflat.php?Cat=0&Board=UBB8&Number=38449

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
Thanks Josh,

I do believe you when you say it will cause a high load on the server, but actually I dont understand why. Upon registration, you only need to check if the IP is on the banlist or not... so where would the high load come from ?

How can I ban an IP via the server ?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You'd have to check the IP against banned IPs on every single page load to keep them from viewing anything anonymously.

You didn't mention registration before - you said anonymous browsing and searching.

You can block an IP address with a .htaccess file. Many web hosting control panels have a "IP Deny" feature. I know Cpanel does. Just type in the IP, and the IP is blocked from the server.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)