|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Web hosting, restrict user to access only his folder
From: Daniel Ouellet (daniel
presscom.net)
Date: Fri Aug 13 2010 - 15:55:10 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> i used ftpd (-4Dln) for users to upload their website(with /etc/ftpchroot
> configured).
> My problem, user can see content of others.
> For example, 2ndxx can update his folder but he can see also the content of
> "firstxx" folder.
> How can i restrict that ?
Well, you could setup no login in the master.passwd for that user and
assign the home directory to their web site folder. They will change
root to that and can't get out of it via ftp.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]