Tying WinSCP logins to specific directory
We have a Debian Lenny / Samba server sharing files on a LAN with Windows clients. We also have several remote users who login in via WinSCP to do simple file transfers. (A OpenVPN was too slow due to bandwidth issues.)
Is there a way to lock the WinSCP connections to a specific directory?
My first thought was to move the remote users' home directory to the portion of the directory tree shared via Samba:
usermod -d /data/public/ username
but that does not stop them from going up the directory tree.
Thanks.
|