Friday, May 25, 2012

VSFTPD: Force Upload Only No Downloads

Question: How do I configure my VSFTPD ftp server to upload files but disable all file download requests under Debian Linux?

Answer: You can easily configure vsftpd to disallow all download requests. You

VSFTPD ftp server download_enable option

If set to NO, all download requests will give permission denied.

Configure vsftpd to disallow all download requests

Open vsftpd.conf file:
# vi /etc/vsftpd.conf
Set download_enable to NO:
download_enable=NO
Save and close the file. Restart vsftpd ftp server:
# /etc/init.d/vsftpd restart

No comments:

Post a Comment