RE: [PHP] restricted file access
| From: | tedd | Date: | Thu, 28 Aug 2008 19:18:35 +0000 |
| Subject: | RE: [PHP] restricted file access | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278913@lists.php.net to get a copy of this message | ||
At 10:50 AM +0200 8/28/08, Angelo Zanetti wrote:
Thanks for your reply. But what happens if the file is situated here: www.site.com/include/documents/file.doc and someone knows that path file somehow or they get a program to crawl the site. Then they would be able to get that file. How do we prevent that?You don't! But file.doc doesn't have to be anything either. Try this: http://sperling.com/file.doc -- you won't find anything there. However, if I wanted something to be there for someone, I could put it there. Understand? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com