Date: 09/26/00
- Next message: Lawrence.Sheed <email protected>: "RE: [PHP] Subdirectory security"
- Previous message: Rajil Saraswat: "[PHP] novice, wanting comparison between php and other technologies."
- In reply to: David Robley: "Re: [PHP] Subdirectory security"
- Next in thread: Andrés: "[PHP] Subdirectory security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I know how I can do it with Apache, but what I want to stop is that someone
can use PHP to access one of the files under a directory where he don't have
access using a web browser.
> > Hello.
> >
> > Is there any way to stop someone from accessing a file under the
doc_root?
> > As there's a directive to define the document root, is there anything
> > similar to stop PHP from acessing a whole subdirectory under that
document
> > root?
> >
> > Thanks.
> >
>
> If you are using apache, just deny access to that subdirectory.
>
> <Directory "/path/to/wherever">
> Order deny, allow
> Deny from all
> </Directory>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Lawrence.Sheed <email protected>: "RE: [PHP] Subdirectory security"
- Previous message: Rajil Saraswat: "[PHP] novice, wanting comparison between php and other technologies."
- In reply to: David Robley: "Re: [PHP] Subdirectory security"
- Next in thread: Andrés: "[PHP] Subdirectory security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

