RE: [PHP] Secure File Upload

From: Date: Thu, 06 Jun 2002 16:05:02 +0000
Subject: RE: [PHP] Secure File Upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100947@lists.php.net to get a copy of this message
On Thu, 6 Jun 2002, Christoph Starkmann wrote: > Yes. In fact, i would like to prevent having users upload too > big files. There are two reasons: > First, I don't want my server space to be consumed by files too big. > Second, I want to be able to prevent my (limited) traffic to > be "exhausted". Simple reason: I pay for anything above let's say > 10 GB of traffic. So what PHP offers to me AFAIK enables me to > protect my space, but not my traffic. That's where my question > comes from. Depending on your server environment, you may be able to get the firewall code to drop a connection after a certain amount of traffic in one direction. That would effectively and unceremoniously cut off the rogue uploads. Beyond the scope of this mailing list, though. miguel

« previous php.general (#100947) next »