Re: Authenticate files downloads

From: Date: Wed, 07 Aug 2002 03:32:13 +0000
Subject: Re: Authenticate files downloads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111466@lists.php.net to get a copy of this message
Would I do this with fpasstru(). The doc says it sends it, to stdout how could I send it to the users browser to download, or is the browser considered stdout? --- Michael Sweeney <sweeney@verisity.com> wrote: > You put the files in a directory outside your web > document tree and use > php to transfer the files. You'll need to send a > header with the > appropriate mime type for the file. > > ..mike.. > > On Tue, 2002-08-06 at 13:51, Daniel Guerrier wrote: > > I'm trying to use php to validate if a user has > > permission to download a file. I can restrict > them > > from accessing the .php file that has the download > > links. But how do I stop someone from typing in > the > > path to the file directly and downloading it. > > > > > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com

« previous php.general (#111466) next »