how can I limit access of an FTP user to other directories?

Hello.

I have a dedicated server running Linux/Apache/PHP etc.

I would like to give John Doe an FTP account so he can update PHP scripts in the http://www.mysite.com/johndoe/zone/ directory but I don't want him to be able to access any files in any other directories. I am worried that he might install a PHP script that could grab files from other direcories. This is very possible to do with PHP (I have done it myself).

How can I allow John Doe to update PHP scripts in his directory, without being able to access or see files in the

/home/web/mysite.com/html/sue/zone directory

or even the

/home/tools/ directory?

Thanks!

 

 

 

 

Top