Limit URL Parameter Length in Web.Config

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-06-04T21:01:19Z Indexed on 2010/06/10 22:32 UTC
Read the original article Hit count: 291

Filed under:
|
|
|

Is it possible to add some kind of restriction to the web.config to limit URL parameter length? I want to prevent people at the earliest possible point from submitting too large URL parameters so the server doesn't get taxed more than necessary in the event that somebody tries to "attack" it with large invalid URL parameters.

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc