Home » Categories » Multiple Categories

How do I disable FTP uploading to a customer’s site?

If you want to stop a customer from uploading to their website, you can disable FTP uploading.  However, you need to make certain this is exactly what you want to do.

If you just want to disable their site, you can do so through the Reseller Control Centre.

You will need SSH access to that particular site. If you do not have SSH access, please raise a Support Ticket with the Customer Services team to gain access.

To disable FTP uploading:

  1. SSH into the site making sure you are logged in as the right user
  2. Enter in this line:

cat > .ftpaccess

  1. Enter in this line:

DenyAll

  1. Press Ctrl-D to finish writing the file
  2. FTP access will now be blocked

To re-enable FTP access:

  1. SSH into the site making sure you are logged in as the right user
  2. Enter in this line:

rm .ftpaccess

  1. FTP access will be restored
1 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
How do I unlock FTP access for all my customers’ sites?
Added on Fri, Mar 13, 2015
How do I unlock my site for my additional FTP accounts?
Added on Fri, Mar 13, 2015