This document summarizes techniques for preventing SQL injection attacks. It discusses the Random4 and Hirschberg algorithms. Random4 encrypts user input using a lookup table, preventing attacks. Hirschberg finds similarities in input data to the database using dynamic programming. While more computationally intensive, Hirschberg does not require encryption. The document also outlines different types of SQL injection attacks and compares the complexity of the Random4 and Hirschberg approaches.