Hello,
I have my server where I host my page, but also want to host some pages for my friends, but I dont want them to have complete access to all folders on the server.
What is the best way to create a ftp user, so that I can set a login/password and define the folders where they have access, for example, i want that /var/www/domain.com will be their / root folder when they connect though ftp.
I was checking some ftp program, and the problem is that I had to create new linux user for each ftp account, Im looking for a simpler solution.
Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
It would be best to create a separate user for each of your friends that you want to give hosting space to, this allows you to provide granular permissions, keep their sites separate and even monitor their disk usage (with quota). <br> <br>Since OpenSSL has SFTP embedded you don’t even need a separate FTP server, and Apache’s userdir mod can satisfy the rest of your requirements. <br> <br>If you’d like help with any of this please feel free to stop by the IRC channel at #digitalocean@irc.freenode.net and have a chat with us!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.