Anonymous FTP Precautions

This article describes the security and usage precautions of anonymous FTP in a cPanel hosting account. Read it before enabling it on your account.

Recommendation: On most plans, anonymous FTP is disabled by default and it is best to keep it that way. Only enable it if you have a clear reason and understand the risks described in this article.

What is anonymous FTP?

Anonymous FTP allows anyone to connect to your domain via FTP without their own credentials, using a generic guest username and password. They can access directories configured with public read and/or write permissions.

Security risks

Any anonymous user will be able to upload and download files in the exposed directories. That is why it is critical to configure restrictive permissions:

  • Restrict anonymous FTP access only to the folders you actually need to publish.
  • Use the File Manager or system permissions to disable public read/write on sensitive folders (e.g. cgi-bin, etc, mail).
  • Verify that anonymous users cannot access files or directories outside of the permitted ones.

Legal responsibility: As the account holder, you are responsible for all files hosted on your domain, including those uploaded by third parties via anonymous FTP. A misconfigured site can be used to distribute pirate software ("warez"), with the risk of legal action and suspension or deletion of the account.

Disk space control

If you enable anonymous file uploading, monitor disk space from cPanel frequently. If the disk nears the plan limit:

  • You may stop receiving mail.
  • You will not be able to upload or modify files (Write error on file ... error).
  • Third parties could fill your account by uploading files without control.

To check disk usage, consult How to view disk space in cPanel.

How to access anonymous FTP

Once enabled in cPanel, visitors connect with an FTP client using:

Field Value
Host / Server Your domain (e.g. yourdomain.com)
Username Anonymous user (provided by cPanel when enabling the feature)
Password Guest password (provided by cPanel)

Anonymous FTP is independent of your website. Accessing via FTP is not the same as visiting https://yourdomain.com in the browser.

You can also access the public folder via browser, for example:

ftp://yourdomain.com/pub/

Anonymous FTP directories

When connecting, visitors will see a structure similar to this:

Directory Usage
pub/ Public download files. Place what you want to be downloaded anonymously here.
incoming/ File uploads by anonymous users (write-only).
bin/, dev/, etc/, lib/ FTP system directories. You can ignore them for regular use.

Security rules (summary)

  1. Only the incoming/ directory can be written to by anonymous users.
  2. Anonymous users cannot create subdirectories.
  3. The incoming/ directory cannot be read by anonymous users (write-only).
  4. You are responsible for any illegal content uploaded by third parties.
  5. Sites with anonymous FTP can be monitored to detect abuse.
  6. Ignore system directories that you do not need for your use.
  7. For public download via web, use ftp://yourdomain.com/pub/.

Safer alternative: Instead of anonymous FTP, consider FTP accounts with username/password per project, download links from your site, or cloud storage with controlled access.

Frequent issues

  • I cannot find the option in cPanel: it may be disabled on your plan; contact support before requesting it.
  • Unknowns uploaded files: disable anonymous FTP immediately and check incoming/ and pub/.
  • Disk full without explanation: review anonymous uploads and follow Disk full: how to solve it.

If you need to enable anonymous FTP, disable it, or check if your account was affected by misuse, open a ticket from the client portal or inquire via the site's online chat.

  • precauciones ftp anónimo, responsabilidad de subida de archivos al servidor
  • 34 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect and upload files using FTP-FileZilla

This article explains how to upload files via FTP to your hosting plan using the free FileZilla...

I cannot publish files within my service

This article helps you troubleshoot when you cannot upload or publish files on hosting with a...

FTP folder utilities

This article explains the meaning of each folder in your hosting account when connecting via FTP...

Creating and managing FTP accounts

This article explains how to create and manage additional FTP accounts in cPanel to grant...

File Manager

This article describes what the cPanel File Manager is used for and how to use its interface to...