How can I easily setup and maintain multiple user accounts who need access to the web directory used by Apache?
This single directory (with subdirectories) contains sample files for users to download and they are maintained by a handful of users who should have r/w access and the ability to create folders and overwrite eachother’s files.
They should not have access beyond their ability to manage these files as described above. These users know how to use FTP that shouldn’t be an issue.
What is the best way to set this up?
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!
There are a couple ways to configure an FTP server like vsftpd to restrict users to a directory (and it’s subdirectories) that you select. This guide will help you in installing vsftpd and this answer on StackExchange provides two good examples on the methods for setting up the directory restriction (chroot).
There is also a link at the top of the first tutorial to a guide on securing vsftpd with SSL/TLS encryption. As FTP is an inherently insecure protocol by default this is recommended.
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.