Blog

How to prevent large file upload using web.config

Nov 22, 2012 Blogs | .NET 4.5
How to prevent large file uploading usinf web.config
Adding following to the system.web section of the web.config file will also 
prevent over-large uploads from being created

<!-- set max upload to 25 MB -->
< httpRuntime executionTimeout = "300" maxRequestLength = "25000" />
Dhaval Patel

Hi, AllDhaval patel is working as software developer and total 3.0 Years experience.

  • 229rank
  • 256K readers
COMMENT USING

PREMIUM SPONSORS

Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.

Latest Blogs