Re: Restricted access
| From: | Ciprian Trofin | Date: | Thu, 14 Aug 2003 13:00:06 +0000 |
| Subject: | Re: Restricted access | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159564@lists.php.net to get a copy of this message | ||
What is readfile90 ? I tried google and nothing.
MK> Yes, put the files outside of web root or protect them using .htaccess
MK> file. After authorization use readfile90 to serve the file. There are
MK> lots of tutorials on authentization and if you are using some CMS you
MK> might have all you need.
>> 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.