Section
4.2.1
Top Level
Sub Level
General
The input validation mechanism should be implemented in a centralized library, component, or mechanism.
Django
Django's forms package includes a validation mechanism. You can create Form objects with custom "clean" methods to validate form data. Django's built-in form field
objects already provide validation themselves. You also have the ability to make custom form field subclasses that perform any validation you define.
Natural Webagent
Most validation/audit modules will be business specific. Where entry is free-form, use a module like TXN$SCRB
to scrub input before writing to files.
.NET
ASP.NET provides a CustomValidator
class that can act as a base class for many custom user validators.