Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 36549 invoked from network); 12 Apr 2006 04:01:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2006 04:01:04 -0000 Received: (qmail 23668 invoked by uid 500); 12 Apr 2006 04:00:55 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 23656 invoked by uid 500); 12 Apr 2006 04:00:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 23645 invoked by uid 99); 12 Apr 2006 04:00:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 21:00:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [211.29.132.198] (HELO mail17.syd.optusnet.com.au) (211.29.132.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 21:00:54 -0700 Received: from londra (c210-49-157-34.smelb1.vic.optusnet.com.au [210.49.157.34]) by mail17.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k3C40W3P011470 for ; Wed, 12 Apr 2006 14:00:32 +1000 From: david0005 To: users@httpd.apache.org In-Reply-To: References: Content-Type: text/plain Date: Wed, 12 Apr 2006 14:00:01 +1000 Message-Id: <1144814401.1496.82.camel@londra> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Restricting the number of times a file can bedownloaded. X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Owen, Thanks for your erudite reply. On Tue, 2006-04-11 at 12:41 +0200, Boyle Owen wrote: > Bandwidth = no. of bytes per unit time > > Originally, you asked about "number of times a file can be downloaded". That > sounds like you wanted to make a scalar count of the > number of downloads and limit it to, say, 10. So the file would be inaccessible > after 10 downloads no matter if the 10 had been > downloaded all at the same time or over the course of several days. That would > be an entirely different thing. It's like the > difference between the range and the speed of a car... > > Controlling bandwidth means you want to limit the number of concurrent connections > and/or the rate at which each client is served. > So go to http://modules.apache.org/search and search for "throttle". That will get > you started. I am actually well aware of all of the technical meanings of the word bandwidth. However, I was using the word in the colloquial sense -- that is bandwidth as a limited commodity which costs money. After a certain limit my host charges by the megabyte. So I do not want to pay for anyone to view this video clip, just the people that I send the link to. So yes I am talking about controlling access. However I do not care if a recipient emails the video clip as an attachment to a friend. I just do not want that friend accessing my web server. Making a scalar count of the number of times the file has been downloaded would also serve my purpose as it would allow me to cap the bandwidth cost of this mail out. I am not concerned about the number of concurrent connections so I do not need throttling. I am concerned about minimising the number of megabytes of data delivered by my web server. > Now I'm even more confused... Are you talking about controlling access? (ie, you > don't want someone who gets a copy of the mail to > access the file?) Yes. But I don't care if they receive the file as an attachment. Regards, David --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org