restricting acces to files

From: Date: Sat, 01 Feb 2003 09:28:13 +0000
Subject: restricting acces to files
Groups: php.general 
Request: Send a blank email to php-general+get-134231@lists.php.net to get a copy of this message
Hi, i've written a secure PHP login script which will allow users to login to a directory such as this: smezone.com/members/index.php however, how do I restrict people from accessing HTML files in that directory (which they can easily do so by typing the URL into their browser), such as: smezone.com/members/document1.html ? Since its a regular HTML files (and we have lots), I can't check whether the user has a valid session as I would do in a PHP file. Thanks for any help! Shams

« previous php.general (#134231) next »