"unsafe" directory display

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Markus Elfring

    "unsafe" directory display

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

    #2
    Re: "unsafe&qu ot; directory display

    Markus Elfring wrote:[color=blue]
    > I want to allow to display the contents of the directory
    > "/home/ftp/incoming/news".
    > Is the setting "safe_mode_incl ude_dir"
    > (http://de.php.net/manual/en/features.safe-mode.php) the right one to
    > support additional access rights for a few selected directories?[/color]
    There's a difference between 'include_dir' and 'open_basedir'. Just
    search for it on the PHP site.

    --
    Pieter Nobels

    Comment

    • Markus Elfring

      #3
      Re: "unsafe&qu ot; 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.

      Comment

      • Markus Elfring

        #4
        Re: "unsafe&qu ot; directory display

        How do you allow to read the contents of a FTP directory in safe mode?

        Comment

        Working...