Protecting files
| From: | Mick Lloyd | Date: | Thu, 05 Apr 2001 02:09:57 +0000 |
| Subject: | Protecting files | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8286@lists.php.net to get a copy of this message | ||
Can anyone point me to a tutorial that explains in words of one syllable how
to protect files/directories without using .htaccess and .htpasswd.
I have log-in screens that search an authorized users database for name,
password, level before they can get into the site. But each time someone (ie
me at the moment) tries to log-in, the browser throws up the (HTTP
Authentication?) dialog box - I guess because I have .htaccess and .htpasswd
protecting the directories where the scripts reside. I would prefer not to
have this happen and rely only on authentication from the database. But how
do I then protect the directories/scripts from anyone wanting to have a look
(not that they're worth much!).
Thanks
Mick Lloyd
mjl@consultingrooms.com
Tel: +44 (0)1684 560224