[PHP] [SOLVED]RE: [PHP] restricted file access

2008-08-29 Thread Angelo Zanetti
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: 28 August 2008 21:19 To: php-general@lists.php.net Subject: RE: [PHP] restricted file access At 10:50 AM +0200 8/28/08, Angelo Zanetti wrote: >Thanks for your reply. > >But what happens if the file is situ

RE: [PHP] restricted file access

2008-08-28 Thread tedd
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

Re: [PHP] restricted file access

2008-08-28 Thread HostWare Kft.
age - From: "Angelo Zanetti" <[EMAIL PROTECTED]> To: "'tedd'" <[EMAIL PROTECTED]>; Sent: Thursday, August 28, 2008 10:50 AM Subject: RE: [PHP] restricted file access Thanks for your reply. But what happens if the file is situated here: www.site.com

RE: [PHP] restricted file access

2008-08-28 Thread Angelo Zanetti
. -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: 27 August 2008 17:29 To: php-general@lists.php.net Subject: Re: [PHP] restricted file access At 4:13 PM +0200 8/27/08, Angelo Zanetti wrote: >Hi all, > >We have a site and we have created an admin section where the admin ca

Re: [PHP] restricted file access

2008-08-27 Thread Tiago Palhota
Hello, i saw that the end file always has the name test.zip ( http://php1.net/b/file-browser/index.php ) Are you zipping the file before outputing to the user ? In that case, you are accomplishing the desired goal of hidding the path, because the file changed but the path is always the same. Am

Re: [PHP] restricted file access

2008-08-27 Thread tedd
At 4:13 PM +0200 8/27/08, Angelo Zanetti wrote: 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

[PHP] restricted file access

2008-08-27 Thread Angelo Zanetti
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