How to protect system files and directories on FTP, SFTP and File Manager access
Hello,
I allowed SFTP login to my clients on shared web server, whereas they have FTP login and cPanel File Manager access.
What I need to do is, to hide system files/directories from cpanel users, or to forbid any changes on system files/directories - when cpanel users login via FTP, SFTP or File Manager. In order to allow them to use files and directories that they own, and to protect server files/directories from being changed by other users than root.
cPanel 11.44, Apache 2.4, CentOS 6.5
Any help?
Many thanks in advance! :confused:
-
Could you tell us a little more about how you've configured your system? Ultimately the directories / files a user can access through SFTP is governed by the standard linux permissions model. The exception of course is if you've enabled [url=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/VirtFS]VirtFS (Jailed Shell) 0 -
Hello :) System files/directories should already be protected when accessing SFTP with an account username. Thank you. 0 -
Thanks for all replies. Do I need to disable user shell access on shared server according to security reasons? 0 -
[quote="joomla, post: 1709142">Thanks for all replies. Do I need to disable user shell access on shared server according to security reasons?
You could enabled jailed shell if you are not comfortable granting full shell access. It's documented here: Jailed Shell Thank you.0
Please sign in to leave a comment.
Comments
4 comments