Security and Cryptography
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationSecurity and Cryptography

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 20th, 2001, 10:50 PM
ff7citadeler ff7citadeler is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Posts: 1 ff7citadeler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question IP banning

Greets, all.

A friend just installed a webboard system for me at the free webspace host multimania.com. It uses PHP and MySQL (it's a system called AcmlmBoard, which you may or may not have heard of) to run. MultiMania assigns users a dynamic IP address, the last sector of which is the dynamic one. This makes it rather hard to ban people using the AcmlmBoard's IP-ban feature, as everyone appears to have a similar IP.

Does anyone know how I can work around this? The friend setting up the board is stumped, altho he says that if we can somehow ban IPs from accessing the *server* itself (as opposed to accessing the *webboard* which is what the board's own IP ban does) that might work. I personally don't know enough about PHP or MySQL or server technical stuff, myself, to come up with anything.

Please help! ^_^

Reply With Quote
  #2  
Old June 21st, 2001, 05:06 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You can try the .htaccess way if you are allowed to use it. It depends on the server setup, you may place this .htaccess to http://www.multimania.com/webboard/.htaccess so the banned users can still access other parts of your site.
Here is the content of that .htaccess:

<Limit GET POST>
order allow,deny
allow from all
deny from ip.to.ban.here # you can put multiple IPs (a single whitespace-delimited) on the same line
</Limit>

Say your script accepts POST method, you can tighter that to <Limit POST> so those users still have READ access to your board.
You are on your own to figure out how to write such a script to modify the deny from lines.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationSecurity and Cryptography > IP banning

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap