forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: linuxhata on November 06, 2005, 09:29:25 am

Title: Ability to use wildcards in IP banning.
Post by: linuxhata on November 06, 2005, 09:29:25 am
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.
Title: Re: Ability to use wildcards in IP banning.
Post by: Joachim Müller on November 06, 2005, 03:24:23 pm
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.
Title: Re: Ability to use wildcards in IP banning.
Post by: linuxhata on November 06, 2005, 05:53:56 pm
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.
Title: Re: Ability to use wildcards in IP banning.
Post by: Nibbler on November 06, 2005, 09:04:13 pm
Would be better to do this on the server level with .htaccess than build it into Coppermine.
Title: Re: Ability to use wildcards in IP banning.
Post by: Joachim Müller on November 07, 2005, 08:03:16 am
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.