Re: [PHP] secure files acess

2002-08-16 Thread Justin French
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 ([EMAIL PROTECTED]) wrote: > I have a

Re: [PHP] secure files acess

2002-08-16 Thread Robert Cummings
David Buerer wrote: > > Thankyou Robert, THat is a great and easy way to do it. > > What if I need to initiate a download to the user? If you set the mime type properly the browser will automatically make it a download versus displaying it. Cheers, Rob. -- .-. | Robert Cumming

RE: [PHP] secure files acess

2002-08-16 Thread David Buerer
Thankyou Robert, THat is a great and easy way to do it. What if I need to initiate a download to the user? -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 2:06 PM To: David Buerer Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] se

RE: [PHP] secure files acess

2002-08-16 Thread Daniel Masson
Hi there !!! I had the same problem once ... This will save you !! http://www.zend.com/zend/trick/tricks-august-2001.php 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, i

Re: [PHP] secure files acess

2002-08-16 Thread Robert Cummings
Robert Cummings wrote: > > David Buerer 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

Re: [PHP] secure files acess

2002-08-16 Thread Robert Cummings
David Buerer 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 allowth

[PHP] secure files acess

2002-08-16 Thread David Buerer
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