"unsafe" directory display

This is a discussion on "unsafe" directory display within the PHP Language forums, part of the PHP Programming Forums category; I want to allow to display the contents of the directory "/home/ftp/incoming/news". Is the setting &...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-05-2004
Markus Elfring
 
Posts: n/a
Default "unsafe" directory display

I want to allow to display the contents of the directory
"/home/ftp/incoming/news".
Is the setting "safe_mode_include_dir"
(http://de.php.net/manual/en/features.safe-mode.php) the right one to
support additional access rights for a few selected directories?
Reply With Quote
  #2 (permalink)  
Old 08-05-2004
Pieter Nobels
 
Posts: n/a
Default Re: "unsafe" directory display

Markus Elfring wrote:
> I want to allow to display the contents of the directory
> "/home/ftp/incoming/news".
> Is the setting "safe_mode_include_dir"
> (http://de.php.net/manual/en/features.safe-mode.php) the right one to
> support additional access rights for a few selected directories?

There's a difference between 'include_dir' and 'open_basedir'. Just
search for it on the PHP site.

--
Pieter Nobels
Reply With Quote
  #3 (permalink)  
Old 08-06-2004
Markus Elfring
 
Posts: n/a
Default Re: "unsafe" directory display

> There's a difference between 'include_dir' and 'open_basedir'.

I want to "include" additional directories for the use of the function
"opendir" in safe mode instead of excluding paths.
I would prefer to specify permissions instead of restrictions.
Reply With Quote
  #4 (permalink)  
Old 08-23-2004
Markus Elfring
 
Posts: n/a
Default Re: "unsafe" directory display

How do you allow to read the contents of a FTP directory in safe mode?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0