asp.net - Restrict file size upload by type in IIS 7.5 -


Is it possible to restrict file size allowed by file type to upload to IIS 7.5?

I want to allow 1 MB images (JPG, PNG, GIF) and 10 MB for PDF and Zip.

Is this possible?

BTW, I am hosting a classic ASP site and I

IIS In the server you can use the filtering request globally / website-level.

Please refer to Edit Feature for specific file extensions.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -