Re: Restricted access
| From: | Kae Verens | Date: | Thu, 14 Aug 2003 12:53:31 +0000 |
| Subject: | Re: Restricted access | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159561@lists.php.net to get a copy of this message | ||
Ciprian Trofin wrote:
Hi All, I want to give access to resources (PDFs and some RTFs) only to registered users and I also want to deny that kind of access to people that "guess" the URL. I guess it is all about putting these files outside the web-tree and somehow putting PHP to work. Could you enlighten me ? :))http://php.net/fpassthru is the answer to the web-tree problem. The authentication is a different matter. I have my own method - I'm sure others have other/better methods. Kae