Re: limiting downloads
| From: | tedd | Date: | Sun, 11 Jun 2006 15:44:27 +0000 |
| Subject: | Re: limiting downloads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237763@lists.php.net to get a copy of this message | ||
At 1:51 PM +0200 6/10/06, Michelle Konzack wrote:
>Hello *,
>
>I am on over 100 Mailinglists and want to make my archive (monthly
>tarbals) public availlable. my problem is, that they are around
>20 GByte compressed archives and I want to prevent peoples to suck
>the whole archive at once...
>
>I was trying several things but failed.
>
>Does anyone have a code sniplet which limit clients to, e.g. four
>downloads, per day?
>
>I think, I must use a database or something like this, because I
>must track th IP, date, time, and the used download client...
>
>I think, downloads limiting by creating accounts with passwords
>will not help since spamer can create Yahoo or Hotmail accounts
>faster than you can stop it...
>
>Or should I pass the downloads via this nifty PIC/IMAGE verification,
>where $USER must type in the numbers/letters created by a php script?
>
>Greetings
> Michelle Konzack
Michelle:
If it was my problem, I would have people register and store their registration (logon and password)
in a dB and require them to accept cookies. I think that would both slow-down and limit downloads.
As for PIC/IMAGE thing it's called CAPTCHLA and that would help keep out spammers, but you
would cut out the visually impaired. You might want to read this:
http://www.access-matters.com/2005/05/22/quiz-115-did-a-captcha-catch-ya/
hth's
tedd
--
------------------------------------------------------------------------------------
http://sperling.com http://ancientstones.com http://earthstones.com