A-Z Popular Blog Encyclopedia Search »
Related Guides

5 Types of Input Validation

 , updated on
Input validation is a systematic check that rejects or accepts data based on a set of rules. It is a basic software coding practice that is performed before processing user input or data from untrusted systems. The following are common types of input validation.


Basic checks that data conforms to its data type. For example, checking that an order quantity is numeric.

Business Rules

Checking the correctness of the data based on business rules. For example, validating that a reservation request for a flight occurs in the future at least 12 hours from the current time.


Validations typically include both strict validations of data and warnings that can be bypassed by users. For example, a hotel booking site might warn a customer that a hotel is under construction during the period of their stay before finalizing a booking.

Information Security

Checking data for information security threats.

Risk Controls

Input validations are a common way to implement risk controls. For example, a financial trading system may prevent orders beyond a certain dollar amount authorized for each trader.
Overview: Input Validation
A systematic check that rejects or accepts data based on a set of rules.
Related Concepts


This is the complete list of articles we have written about coding.
Code Refactoring
Code Smell
Complexity Hiding
Deep Magic
Edge Case
Event Processing
Forward Compatibility
IT Artifact
IT Examples
Negative Code
Proof Of Work
Software Design
More ...
If you enjoyed this page, please consider bookmarking Simplicable.


A list of coding considerations and techniques.

Emergence vs Big Design Up Front

The difference between emergence and big-design-up-front.

Deep Magic

An overview of deep magic, a technology term.

Principle Of Least Astonishment

An overview of the Principle Of Least Astonishment.

Pull vs Push

The difference between pull and push technology.

Binary vs Hexadecimal

A comparison of binary and hexadecimal.

End-User Computing

An overview of end-user computing.

Library vs API

The difference between a library and API explained.

Code Reuse

The common types of code reuse.

Code Freeze

The common types of code freeze.

IT Control Examples

An overview of IT controls with examples.

Audit Trail

An overview of audit trails.

IT Control Examples

An overview of IT controls with examples.


A definition of non-repudiation with several common examples.

Business Rules

The definition of business rules with examples.


An overview of control with examples.

IT Asset Management

An overview of IT asset management.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map