how to Create FTP account and Give all access to except some private folder using Cpanel

Jan 15, 2021
7
2
3
USA
cPanel Access Level
Website Owner
I am handling one project (Website) by self only in cPanel (GoDaddy). but now I want to add other team member on same project.

there are few folders as below.

public_html/live_site/pages public_html/live_site/private_php public_html/live_site/private_folder public_html/live_site/js public_html/live_site/local public_html/live_site/other public_html/live_site/xyz for security reason, I don't want give full access of all folders under live_site using ftp.

I have created FTP accounts. Those ftp accounts can access all the folders inside live_site but I want to create ftp account who can handle all folders under live_site except private_folder and private_php

I thought I move private folder to other folder but path of that folder must be there inside live_site folder, so only option left is either hide these private folder or special file permission that do not allow to access for particular ftp client only I have read about file permission like read, write, execute but I don't know how it will be linked with ftp account!

I hope my question is clear to understand! Thanks in advance.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,240
2,423
363
cPanel Access Level
Root Administrator
Hey there! While you can restrict the FTP user to a specific directory, you wouldn't be able to make it more specific than that. You could change the permissions on the files so they can't be read, but then the main cPanel user could also have issues accessing the files as well. I don't believe there is a good way to restrict that with the FTP user system.