Hi!
Let’s say I have a VPS with two different projects installed:
- Magento
- Wordpress
and they are both located in their respective folder in the /var/www/html/
directory:
- /var/www/html/magento
- /var/www/html/wordpress
How could I give access through FTP/SFTP to a third party and only allow him to have access to a specific folder/project?
For instance UserA will connect and his “root” folder would be the /var/www/html/magento
folder without having the possibility to go upper and see the content of the /var/www/html/
folder.
What’s the best and safest practice to achieve that?