The system and method correlate between hypertext transfer protocol (HTTP)
requests and structured query language (SQL) queries. The system operates
in two modes: learn mode and protect mode. In the learn mode, the system
identifies pairs of uniform resource locators (URLs) and SQL templates,
in addition to, pairs of correlation parameters and SQL queries. In the
protect mode, for each incoming SQL query, the system binds to each
submitted SQL query a session identifier (sessionID) of a corresponding
HTTP request and the user identity of the user that submitted the query.