Protecting Data Integrity of Web Applications with Database Constraints Inferred from Application Code
Hao‐Chen Huang, Bingyu Shen, Li Zhong, Yuanyuan Zhou
Abstract
Database-backed web applications persist a large amount of production data and have high requirements for integrity. To protect data integrity against application code bugs and operator mistakes, most RDBMSes allow application developers to specify various types of integrity constraints. Unfortunately, applications (e.g., e-commerce web apps) often do not take full advantage of this capability and miss specifying many database constraints, resulting in many severe consequences, such as crashing the order placement page and corrupting the store inventory data.
Topics & Concepts
Computer scienceData integrityDatabaseCode (set theory)Web applicationWorld Wide WebProgramming languageSet (abstract data type)Web Application Security VulnerabilitiesService-Oriented Architecture and Web ServicesData Quality and Management