This document presents a Validation Model of Data Input (WSIVM) for Web Services to address security issues like SQL injection and cross-site scripting attacks. WSIVM uses an XML schema, specification and validation module to sanitize input according to the schema before it is processed. The model was implemented using Apache Tomcat, Axis2 and intercepts SOAP messages for validation. A case study testing a student registration service saw validation reduce response times by 52% and number of database insertions by 49%. The model provides a reusable mechanism for validation to enhance web service security.
Related topics: