Stopping users to see uploaded files

From: Date: Fri, 27 May 2005 10:59:53 +0000
Subject: Stopping users to see uploaded files
Groups: php.general 
Request: Send a blank email to php-general+get-215852@lists.php.net to get a copy of this message
Dear friends, we are using php for developing a small tool for uploading files for download (publications). Using the usual move_uploaded_file, the publications are loaded into a directory where the webserver can write / read. 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? Is there any other way to upload files using php? Thanks in advance! -- symbulos - ethical services for your organisation website www.symbulos.com

« previous php.general (#215852) next »