Create FTP accounts with access to just some folders in the web directory

Posted by Karevan on Server Fault See other posts from Server Fault or by Karevan
Published on 2012-07-14T15:56:46Z Indexed on 2012/11/07 17:03 UTC
Read the original article Hit count: 251

Filed under:
|
|
|

I own a VPS server. At the moment I havent installed any FTP server on it, I am using SSH and SFTP only. I am using Debian 6 Squeeze and Apache2 service. The web directory is in /var/www/

Well, I wanted to create different FTP accounts and give access to some people to them (one account per user). In my web directory I have an structure like this:

/var/www/mtaplugins/music/mplayer/music/ /var/www/mapuploader/ and more folders inside. I want to create an FTP account which should be able to just access one of those folders and the folders inside them.

I would appreciate some recomendations or stept to follow before installing anything or doing anythong, because I dont have any idea about this.

I was thinking in using ProFTPd but as I saw in the documentation it would just create an account for each user in my server, and I want to not create more users (I always use root)

Thanks in advance

© Server Fault or respective owner

Related posts about apache2

Related posts about debian