You can create an isolated FTP account directly from cPanel without sharing your main credentials:
1. Open FTP Accounts:
- Log into cPanel and go to "Files" > "FTP Accounts".
2. Fill in the Credentials:
3. Restrict the Directory (Key Step):
cPanel auto-fills a path like public_html/dev. Change this to the exact folder they need access to (e.g., public_html for the main site, or public_html/subfolder).
The developer will be locked to this root path and cannot browse anything above it.
4. Save:
- Set the Quota (usually "Unlimited") and click "Create FTP Account".
Credentials to send the developer:
- Host: Your Server IP or domain
- Port: 21 (Explicit FTPS)
- Username: [dev@yourdomain.com](mailto:dev@yourdomain.com) (must include the @domain part)
- Password: The password you set