How to "FTP jail" with apache?

Posted by Nate on Server Fault See other posts from Server Fault or by Nate
Published on 2012-12-03T16:26:56Z Indexed on 2012/12/03 17:06 UTC
Read the original article Hit count: 190

Filed under:
|
|

I need to allow someone access to my website via FTP, but there are a number of directories that the person must not be allowed to view or modify. For example, something like this:

private_info_1
public_info_1
private_info_2
public_info_2

In this example, the FTP user would need to be allowed to do stuff in the public directories, but not the private ones.

How do I go about doing this with an Apache server? I have cPanel and SSH access.

© Server Fault or respective owner

Related posts about apache2

Related posts about permissions