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
🐧 Please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 3 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
hi vivek,
i am one of ur favorite.am usik redcat el5.
whether vsftd sekure or not then mi humble reqst explain pasive and activ
is there any we can do by user?
I have a requirement.. where users will able to upload file into ftp but once upload thay should not able to delete those file… if it possible through vsftpd ……….