RE: [PHP] Stopping users to see uploaded files

From: Date: Fri, 27 May 2005 12:08:24 +0000
Subject: RE: [PHP] Stopping users to see uploaded files
Groups: php.general 
Request: Send a blank email to php-general+get-215878@lists.php.net to get a copy of this message
> -----Original Message----- > From: symbulos [mailto:partners@symbulos.com] > Sent: Friday, May 27, 2005 1:00 PM > Unfortunately, that means every person who connects to the directory can > see > the files. If some of the files are for sale, how do you stop the user > from > seeing them / downloading them without permission? Move them _outside_ webscope and generate a download with the header() function, which is only is executed if the user has access. > Is there any other way to upload files using php? That way´s just fine. You could upload directly to the dir outside webscope if You like? -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/Systemdeveloper

« previous php.general (#215878) next »