Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 May 2001 12:08:07 -0400
From:      Nathan Vidican <webmaster@wmptl.com>
To:        Walter Betancourt <walt@betan.com>
Cc:        questions@freebsd.org
Subject:   Re: restricting ftp access
Message-ID:  <3AF6C867.675A4FD@wmptl.com>
References:  <4.2.2.20010507115416.00b6a320@pop3.palace.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Walter Betancourt wrote:
> 
> Does anyone know how to restrict ftp access for a virtual host to only
> their directories
> 
> besides using /etc/ftpchroot ?
> 
> I have a sub-domain virtual host that if I put in ftpchroot it restricts
> total access,
> 
> dont know why, but is there another methos to restrict access by ftp.
> 
> thanks
> 
> Walt
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

man chmod, man chown

You can change the permissions structure so as not to allow a user to
exit a directory. For example: user is logged into /home/users/someuser,
they can cd to /home/users, but not down to /home; and therefore not to
anything below /home (eg: /etc).

Nathan Vidican
nathan@vidican.com / webmaster@wmptl.com
Windsor Match Plate & Tool Ltd.
http://home.wmptl.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AF6C867.675A4FD>