University of Illinois Chicago
Browse

Inline Views: Protecting against SQL Injection Attacks while Providing Access to Aggregate Values

Download (586.32 kB)
thesis
posted on 2016-07-01, 00:00 authored by Paolo Bruzzo
In this work we describe a novel technique applicable to already existing web applications, in order to protect them against classic SQL injection attacks. We focus on the definition of security policies from the point of view of the DBA, and their automatic transformation into correct SQL statements that will act as an inline view, and replace every occurrence of the table that needs to be protected; in this way each query will only target the data that can be accessed by the application user, instead of the original database table. The novelty of this work consist into the definition of certain rules that allow not only to transform simple policies into the actual temporary views, but also allow to retrieve aggregate results (such as sum or average of other data) in a correct way; a simple drop in replacement of a view that only makes available a subset of the original data, would in fact return wrong results in case of selection of aggregate values. With this work we want to show the feasibility of this approach, and the performance impact that it brings to the target applications.

History

Advisor

Sistla, Prasad

Department

Computer Science

Degree Grantor

University of Illinois at Chicago

Degree Level

  • Masters

Committee Member

Venkatesan Natarajan, Venkatakrishnan Lanzi, Pier Luca

Submitted date

2016-05

Language

  • en

Issue date

2016-07-01

Usage metrics

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC