Preventing Access to Private Files
| From: | Stephen | Date: | Thu, 06 Sep 2007 20:03:52 +0000 |
| Subject: | Preventing Access to Private Files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-261794@lists.php.net to get a copy of this message | ||
I understand how to use PHP with MySQL to have a
members table to validate passwords. And to limit the
generation of "member" pages to members only.
But what about photographs? If someone knows the
complete URL they could view it directly, unless the
directory is protected using .htpassword
But I don't want to have passwords in two places, nor
muck with the password file everytime a new member
joins.
Suggestions?
Thanks
Stephen