Some method of bandwidth/transfer quota... (idea in here) Some method of bandwidth/transfer quota... (idea in here)
 

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]

Main Menu

Some method of bandwidth/transfer quota... (idea in here)

Started by autobahn, May 10, 2005, 10:25:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

autobahn

I haven't done a thorough search on the issue, but I'd really like to see some sort of transfer quota system. I am going to be offering a gallery to my club members, and chances are they're going to use my service to host sigs and avitars and pictures to hotlink on other forums. I don't want to forbid this, but I want to be able to control it so I don't run up a huge bandwidth bill (I pay per GB of transfer so everything the users use costs money).

It would be easy to do this with the album, just set it up to multiply the file size x the number of accesses to the picture via php.

But as has been mentioned, obviously coppermine can't control or count hotlinking to files on the server.

However, would it be possible to set up a system where the image is referred to by something besides a direct link? So instead of linking to whatever.jpg in the album the program would link to something like pic.php?pic=287346754 or something like that. That way the images would all be run through php. From there you could set up a .htaccess file somehow to only allow access from the php requests to the images stored on the server?

How difficult would this be to implement?