Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to restrict FTP uploads to specific file extensions. Each folder under a user's home directory will allow different file types. For example:

/Design - will only allow .psd, .pdf, .jpg
/Data - will only allow .txt, .csv, and .xls

(These folders point to different servers, which seems easy enough.)

I see how I can extend FTP with DLLs for authentication, but not for uploading files.

Is there a way to do this? Or does anyone know of another FTP server that would allow this - either through built in settings, plugins, extensions?

share|improve this question
    
Request filtering also helps prevent access to extensions, iis.net/ConfigReference/system.ftpServer/security/… –  Lex Li Dec 27 '11 at 5:30

1 Answer 1

up vote 1 down vote accepted

You should be able to use the File Server Resource Manager which can be installed with the File and Print Services role to manage what extensions are allowed in what directories. As far as I'm aware, there's no IIS-native way to do this, but FSRM is clean and easy and can also put quotas, email usage, and other useful things on the folders in question.

share|improve this answer
    
Perfect, thanks! –  Bradley Dean Nov 21 '11 at 15:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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