Extend IIS FTP to limit allowed file types by folder

Extend IIS FTP to limit allowed file types by folder

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?

答え1

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.

関連情報