1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Hiding Directories

Discussion in 'Plesk for Linux - 8.x and Older' started by DARF@, Jan 31, 2006.

  1. DARF@

    DARF@ Guest

    0
     
    Is there a way in Plesk to hide all the directories with the exception of httpdocs from users logging in via ftp?

    or set it up that when they login via ftp they go straight into the httpdocs and cant go up a level.

    Thanks
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Around line 50 in /etc/proftpd.conf change:

    <Directory /var/www/vhosts>
    GroupOwner psacln
    </Directory>

    To:

    <Directory /var/www/vhosts>
    GroupOwner psacln
    HideNoAccess On
    HideUser root
    </Directory>

    This will hide the directories such as /etc, /var, etc.
     
Loading...