Validating textboxes in asp net

This exploit is typically referred to as a cross-site scripting (XSS) attack.Request validation helps to prevent this kind of attack by throwing a "potentially dangerous value was detected" error and halting page processing if it detects input that may be malicious, such as markup or code in the request.There are known, documented bypasses (such as JSON requests) that will not be addressed in future releases, and the request validation feature is no longer provided in ASP. Fully protecting your application from malicious input requires validating each field of user supplied data. NET Validation Controls and/or Data Annotations attributes to check for: Starting with ASP.NET 4.0 request validation is performed for all requests, not just for page requests.Request validation is generally desirable and should be left enabled for defense in depth.



NET that examines HTTP requests and determines whether they contain potentially dangerous content.This check adds protection from markup or code in the URL query string, cookies, or posted form values that might have been added for malicious purposes.


  1. Pingback:

  2. eric   •  

    With your free membership you can get access to free sessions, archives, and video on demand library, you pay only for premium private sex chat. Click on any webcam girl, which you like, and you will get free access to adult webcams and nude amateur girls sex show online! Click on any sexy babe, and you will get free access to nude webcam girls and live sex video!

  3. eric   •  

    A: "That's the most violent book I've ever read." Q: Which is the most religious cheese? Q: Did you hear about the cheese failed to medal at the olympics?

  4. eric   •  

    uses cookies to improve performance by remembering your session ID when you navigate from page to page.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>