I have CentOS server running on unix, and vsftpd FTP server installed. I did chroot for users and now I'm trying to limit their file type upload. I don't want to use deny_file because deny_file limit only few type (and there so many) + deny_file deny from all users including admin.

Is there any way to limit all file type except X,Y,Z?

link|improve this question
feedback

migrated from stackoverflow.com May 8 '11 at 11:02

This question came from our site for professional and enthusiast programmers.

1 Answer

There is no white list option for VSFTPD (or ProFTPD). The best you could probably do is to use deny_file in conjunction with user_config_dir. The user_config_dir directive specifies a directory that contains per user configuration files. Directives in these configuration files override the main server configuration.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.