[lug] LAMP FTP setup
bgiles at coyotesong.com
Tue Jun 5 21:20:33 MDT 2007
karl horlen wrote:
> i'm wondering what the safest / best way is to allow
> different site owners to be allowed ftp access to
> their own virtual host directory (or related directory
> aliased into their virtual host directory) on a lamp
> web server.
> i'm trying to avoid giving the users system accounts
> to make this work but i don't think that's possible.
> anybody have a bulletproof approach?
Even people with system accounts shouldn't use the same passwords for
their ftp access. You want an entirely separate system.
You need an FTP server with virtual accounts. These servers use their
own user database totally separate from the system accounts. The
database could be as simple as username/password/ftp directory, or it
could include things like quotas, time-of-day restrictions, etc. Their
ftp directory would be the same as their web site.
I use pure-ftpd, but it's not the only ftp server with this support.
More information about the LUG