Ability to use wildcards in IP banning. Ability to use wildcards in IP banning.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Ability to use wildcards in IP banning.

Started by linuxhata, November 06, 2005, 09:29:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

linuxhata

Sometimes is needed to ban whole subrange from accessing gallery. Currently this is possible. Will be very nice to see it implemented in future version.

Joachim Müller

IP banning is silly in the first place, with most users being assigned IP addresses dynamically per browser session. Definitely not a priority issue to me, as the needed checks would cost performance, and this option would be confusing for newbies. Shouldn't go into the core in a future release imo, so I'm marking this request as "turned down". However a mod/plugin would be welcome.

linuxhata

Judging by your local experience doesn't means that it applies for whole world, right?

In our country, IP adresses are assigned per country, per phone prefix and so on. So, for example, by looking at IP, I can very accurate determine it's owner location. Very few ISP's use dynamic IP pool.

Nibbler

Would be better to do this on the server level with .htaccess than build it into Coppermine.

Joachim Müller

all I did was turning down this option for future versions to be built-in by default. You're right, I have no idea about the IP address ranges in your country. However, coppermine is a global product aimed not for use in a particular country. As suggested: if you need this feature, you could come up with a custom solution. You're welcome to share this solution with others as a mod/hack.
Nibbler is right though: it's easier and more powerful (less resource eating) to do this using .htaccess instead of making coppermine loop through a lot of if/then clauses.