secure ftp ? sftp ?

Hi ! I created new user, and new website to this user, using secure open basedir.
In php is all ok, I cant access to another sites on /home for example.

But If i access via FTP , i could list all directories in /home and access to this directories to see files.

It is too insecure.

How could I secure it ?

Best Regards !!!


thanks for the feed back , we have it fixed on installer , for your server, please run

echo "yes" > /etc/pure-ftpd/conf/ChrootEveryone systemctl restart pure-ftpd-mysql

this will fix that issue.

Best regards,