Article · Wikipedia archive · Last revised May 30, 2026

Parameter validation

In computer software, the term parameter validation is the automated processing, in a module, to validate the spelling or accuracy of parameters passed to that module. The term has been in common use for over 30 years. Specific best practices have been developed, for decades, to improve the handling of such parameters.

Last revised
May 30, 2026
Read time
≈ 1 min
Length
147 w
Citations
7
Source

In computer software, the term parameter validation12 is the automated processing, in a module, to validate the spelling or accuracy of parameters passed to that module. The term has been in common use for over 30 years.1 Specific best practices have been developed, for decades, to improve the handling of such parameters.123

Parameter validation can be used to defend against cross-site scripting attacks.4

See also

See also

Notes

Notes

  1. "Parameter validation for software reliability", G.B. Alleman, 1978 (see below: References).
  2. "Parameter Validation for Floats", MSDN.Microsoft.com, 2007, webpage: MSDN-862.
  3. "Feedback: Attribute-based method parameter validation and error handling", 2007, webpage: VStudio-327.
  4. "The Top 10 Web Application security vulnerabilities starting with XSS | Java.net". Archived from the original on 2012-11-16. Retrieved 2013-04-18.
References

References

  • "Parameter validation for software reliability", G.B. Alleman, 1978, webpage: ACM-517: paper presents a method for increasing software reliability through parameter validation.