Re: restricting files

From: Date: Sat, 08 Jun 2002 06:08:16 +0000
Subject: Re: restricting files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101245@lists.php.net to get a copy of this message
On Saturday 08 June 2002 13:46, Justin French wrote: > MP3 and quick time -- otherwise the solution would be easy :) > > Thanks, > > Justin > > on 08/06/02 3:42 PM, Jason Wong (php-general@gremlins.com.hk) wrote: > > On Saturday 08 June 2002 09:19, Justin French wrote: > >> Hi, > >> > >> I wish to restrict access to a dir of files, depending on if the user is > >> a logged in and validated member. > > > > What kind of files are they? html? php? or others? The quick answer is, store the files outside of the website's DOCUMENTROOT, then serve the files through a script (which naturally checks whether the user is logged in). -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Sic transit gloria Monday! */

« previous php.general (#101245) next »