coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Solac on May 18, 2005, 11:48:44 PM

Title: Limit Bandwidth Per User
Post by: Solac on May 18, 2005, 11:48:44 PM
Hi

Isthere anyway to limit bandwidth per user?

Thanks
Title: Re: Limit Bandwidth Per User
Post by: Joachim Müller 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").
Title: Re: Limit Bandwidth Per User
Post by: RaptorUK 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 . . .
Title: Re: Limit Bandwidth Per User
Post by: Tranz 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.