Hello users, Is it possible to disable access to ftp://hostname via browser using .htaccess or can anyone recommend a way that would only prevent it from working for one site? I host multiple sites however still want it to work for the rest just one in particular I do not want anybody to be able to access, maybe the ftp://hostname page could redirect to a website instead? Many Thanks, John
Your hosting is likely to give you a control panel of some sort - you should be able to remove all the accounts that have access.
No, you can't do this by .htaccess as that's for apache not FTP. Why not just reset the FTP password to something only you know ?
This wouldn't solve what i'm trying to achieve. In short I own the domain www.ftp.ac however if you type without www. (e.g http://ftp.ac) the ftp login automatically loads and requests user credentials, I want to build as a web ftp client instead. Hope this gives a better understanding, many thanks!
This wouldn't solve what i'm trying to achieve. In short I own the domain www.ftp.ac however if you type without www. (e.g http://ftp.ac) the ftp login automatically loads and requests user credentials, I want to build as a web ftp client instead. Hope this gives a better understanding, many thanks!
Does it stay http:// or move over to ftp:// in the browser ? If it stays as http:// then your not using FTP but rather webdav and this could be achieved with .htaccess