Coding
Advertisements
Related Guides
| |
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.
CorrectnessBasic checks that data conforms to its data type. For example, checking that an order quantity is numeric.Business RulesChecking 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.WarningsValidations 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 SecurityChecking data for information security threats.Risk ControlsInput 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.
Coding
This is the complete list of articles we have written about coding.
If you enjoyed this page, please consider bookmarking Simplicable.
© 2010-2023 Simplicable. All Rights Reserved. Reproduction of materials found on this site, in any form, without explicit permission is prohibited.
View credits & copyrights or citation information for this page.
|