forum.coppermine-gallery.net
No Support => Feature requests => Topic started 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.
-
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.
-
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.
-
Would be better to do this on the server level with .htaccess than build it into Coppermine.
-
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.