Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I created a few ftp folders for other people to upload files, and the ftp client prevents them from accessing folders and files outside of their ftp folder during an ftp session. This is expected and good. However... they can still upload a php file and run commands from the php file to view files outside of their ftp folder. They can even delete folders outside of the ftp folder by uploading a php file and running a bash command using the php exec function.

How can I prevent this? I want to have ftp folders which limit access to that folder and its subfolders only. Does cPanel have a way to configure this security? Can I make some simple changes to file or folder permissions to accomplish this?

share|improve this question

1 Answer 1

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.