14
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      On the automated verification of web applications with embedded SQL

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          A large number of web applications is based on a relational database together with a program, typically a script, that enables the user to interact with the database through embedded SQL queries and commands. In this paper, we introduce a method for formal automated verification of such systems which connects database theory to mainstream program analysis. We identify a fragment of SQL which captures the behavior of the queries in our case studies, is algorithmically decidable, and facilitates the construction of weakest preconditions. Thus, we can integrate the analysis of SQL queries into a program analysis tool chain. To this end, we implement a new decision procedure for the SQL fragment that we introduce. We demonstrate practical applicability of our results with three case studies, a web administrator, a simple firewall, and a conference management system.

          Related collections

          Author and article information

          Journal
          2016-10-06
          Article
          1610.02101
          3b244ed2-a807-4c45-b63c-aed4f378fe5c

          http://arxiv.org/licenses/nonexclusive-distrib/1.0/

          History
          Custom metadata
          68P15, 68Q60
          25 pages
          cs.LO

          Theoretical computer science
          Theoretical computer science

          Comments

          Comment on this article