RE: [PHP] Restrict file access from web users?

2002-11-10 Thread James Taylor
Thank you sir, problem solved :) -Original Message- From: Justin French [mailto:justin@;indent.com.au] Sent: Sunday, November 10, 2002 11:21 PM To: James Taylor; [EMAIL PROTECTED] Subject: Re: [PHP] Restrict file access from web users? You still need to restrict the files from being

Re: [PHP] Restrict file access from web users?

2002-11-10 Thread Justin French
You still need to restrict the files from being served directly over http... this can be done via a .htaccess, or just stored outside the document root. Then, you create a script called download.php, which INSN'T a html page -- it sets a content header, and passes a .zip file through itself to the

Re: [PHP] Restrict file access from web users?

2002-11-10 Thread Jason Wong
On Monday 11 November 2002 14:10, James Taylor wrote: > Ok, I have something like this set up: > > 1. User logs into site. Authenticates through a mysql table which > basically just has username/password columns. Session is set. > > 2. User goes through site looking for information he'd like to pu