Question

Is it possible to restrict the allowed file size for uploading in IIS 7.5 by file type?

I want to allow 1MB to images (jpg, png, gif) and 10MB to pdf's and zip's.

Is that possible?

BTW, I'm hosting classic asp sites, and I want to restict it server-side and globally.

Thank you in advance.

Was it helpful?

Solution

You can use Request Filtering globally/website-level in IIS Server.

Please refer this article. You need to Edit Feature for the particular File Extension.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top