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: Limit Bandwidth Per User  (Read 2912 times)

0 Members and 1 Guest are viewing this topic.

Solac

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Limit Bandwidth Per User
« on: May 18, 2005, 11:48:44 pm »

Hi

Isthere anyway to limit bandwidth per user?

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Limit Bandwidth Per User
« Reply #1 on: May 19, 2005, 09:20:37 am »

out-of-the-box: no. Coppermine doesn't keep track which files a user has already viewed. It would require a lot of code changes to accomplish what you're up to (at least if you're refering to actual bandwidth usage; if you're refering to the amount of webspace a user can have for his uploads: this can be changed in the groups page, it's called "quota").
Logged

RaptorUK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
    • F1 Album
Re: Limit Bandwidth Per User
« Reply #2 on: May 19, 2005, 10:55:49 am »

I think the OP is refering to data transfers rather than bandwidth . . .  to keep track of data transfers would need substantial code changes,  to limit bandwith per user wouldn't be possible as far as I can imagine . . .
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Limit Bandwidth Per User
« Reply #3 on: May 19, 2005, 04:21:22 pm »

Would it not be a matter of math, number of files viewed * the size of the files? Then when that amount reaches the cap, do not allow the visitor to view anymore. CPG would also have to keep track of whether the user clicks on the large version of the files. It doesn't seem like it would be exact, but it would provide a rough estimate. Another option is to get more bandwidth so that bandwidth is not a concern.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.