GICT knowledge base
Manage cPanel FTP Accounts with Restricted Directories and Safe Deletion
Published
cPanel FTP Accounts creates file-transfer credentials with a chosen top-level directory. That directory is a permission boundary for the FTP login, not an independent hosting account or an automatic SSH/SFTP entitlement.
Create narrowly scoped access
- Enter verified HTTPS cPanel and open Files > FTP Accounts where enabled.
- Choose the intended login/domain and generate a unique protected password.
- Inspect Directory carefully. For a subdomain-only task, use that subdomain’s actual document root from domain settings; it is not always public_html/stock.
- Set a deliberate supported quota and create the account. Record the exact full login name supplied by the panel.
- Verify encrypted access and permitted scope using harmless test data before handing access to someone else.
The FTP top directory includes its descendants. Check that unrelated content is outside that tree; writable website code can still expose application secrets or affect a site. Do not use a broad main-account login to test whether a restricted login is confined.
Change password or quota
Select the exact account’s Change Password or Change Quota action, save and verify the intended result. Update authorized clients without sharing the secret publicly. Quota controls vary by daemon: cPanel documents virtual-user quotas for Pure-FTPd, not ProFTPD. Unlimited in this field does not override the hosting account’s storage or inode limits.
Delete the account without deleting the website
Preserve required files first. cPanel distinguishes Delete Account from Delete Account and Files. The second can remove the account’s entire home directory and contents, including public_html if that is its scope. Use account-only removal when retiring credentials without deleting content, and inspect confirmation before continuing.
Review active sessions separately; do not assume a credential change instantly closes every existing connection. Main/special accounts have different management restrictions. An old instruction to resynchronize passwords through an unspecified Admin Center is not a universal requirement.
Use the right encrypted protocol
Obtain actual FTPS settings and verify the service certificate. SFTP requires the appropriate SSH-enabled identity, not an arbitrary FTP virtual user. Preserve least privilege rather than granting shell access just to reuse a client setting.
References: cPanel directory, quota and deletion scope and SFTP account requirements.
Reviewed October 16, 2026. The matching restricted-folder FAQ was consolidated here. No credentials, directory permissions, session or customer files were changed or tested.
Related guides
Host Additional Domains on an Eligible InterServer Account
Check your hosting limits, choose a separate site or alias and use cPanel or DirectAdmin with deliberate DNS, content and certificate verification.
cPanelHardening Your cPanel Server: Beyond the Basics After CVE-2026-41940
Security is a moving target. With the recent discovery of CVE-2026-41940, it has become clear that just having a firewall isn't enough anymore.
cPanelcPanel and Plesk notice: Awstats,. Webalizer and Analog stats are being removed
Important Update: cPanel and Plesk Phasing Out Legacy Statistics Tools If you regularly check your website traffic through your hosting control panel, we have an...
cPanelThe dangers of shared licenses (in other words unofficial/cracked licenses)
Why Cracked cPanel Licenses Aren’t Worth the Risk: A Guide for InterServer Customers When you’re managing a server, every dollar counts.
