Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Ability to use wildcards in IP banning.  (Read 3176 times)

0 Members and 1 Guest are viewing this topic.

linuxhata

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Ability to use wildcards in IP banning.
« 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.
« Last Edit: November 06, 2005, 03:24:33 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Ability to use wildcards in IP banning.
« Reply #1 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.
Logged

linuxhata

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Ability to use wildcards in IP banning.
« Reply #2 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.
Logged

Nibbler

  • Guest
Re: Ability to use wildcards in IP banning.
« Reply #3 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Ability to use wildcards in IP banning.
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.