Re: secure files acess

From: Date: Sat, 17 Aug 2002 01:34:14 +0000
Subject: Re: secure files acess
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113040@lists.php.net to get a copy of this message
Pass the file through a PHP script, using header() to set the mime-type, then passing the file through. Pretty sure there's examples (and documentation of the problems with IE)in the manual: php.net/header Justin French on 17/08/02 6:36 AM, David Buerer (david@pladesigns.com) wrote: > I have a bunch of files which need to be kept secure. I need to allow a user > access to them them based on a criteria which I can programmatically > determine. > > My question, is how can I allow the user to download or view only one file > on my computer without allowthem to just enter the URL into their browser of > the file and view it? >

« previous php.general (#113040) next »