How to block upload and download of files .exe? With pureftp and apache 1.3.
How to block upload and download of files .exe? With pureftp and apache 1.3.
Does anybody know?
Most likely you would need to use pro-ftpd not pure and the "PathAllow /Deny Filter" directives.
http://www.proftpd.org/docs/directiv...d/by-name.html
As to blocking Apache uploads, one way to accomplish would be to use a php upload script that limits/disallows certain file types. http://www.php.net/manual/en/features.file-upload.php
Yup.
Bear in mind that you won't actually be able to block it completely. A carefully crafted PHP or perl CGI script can workaround such restrictions with ease.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com