restricted file access
| From: | Angelo Zanetti | Date: | Wed, 27 Aug 2008 14:13:25 +0000 |
| Subject: | restricted file access | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-278772@lists.php.net to get a copy of this message | ||
Hi all,
We have a site and we have created an admin section where the admin can
upload documents.
We have made a user login section where they can view a list of the
documents (from the DB) and download the file.
We want to make the site however not allow ppl to type in the path of the
document and retrieve the file. How is this accomplished?
Are the documents stored in a hidden / non-web accessible directory?
Or is this restricted with APACHE?
Please advise
Thanks in advance.
Web: http://www.elemental.co.za