Protecting Data Integrity of Web Applications with Database Constraints Inferred from Application Code

Hao‐Chen Huang, Bingyu Shen, Li Zhong, Yuanyuan Zhou · 2023

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.

Read the paper · More papers on PaperTik