首页> 外文学位 >SQL injection protection through well typing and type checking.
【24h】

SQL injection protection through well typing and type checking.

机译:通过良好的键入和类型检查来保护SQL注入。

获取原文
获取原文并翻译 | 示例

摘要

In client/server software systems clients often interface with database servers by dynamically generating strings which are to be interpreted as an SQL query. The practice of passing raw string data that may or may not be syntactically correct or well-typed admits the possibility of run-time errors and compromises the security of the database by opening them to injection attacks. In this paper we present a static type system for a core subset of SQL. Roughly, a dynamically generated SQL query is well-typed with respect to a database instance if it only refers to table names and field names that exist in the target database, are in scope in the body of the query, and if the uses of those references are all well-typed. We present a formal semantics for our subset and present theorems stating the soundness of the type system. We also describe the implementation of a type checker based on the type system presented here. The checker is implemented in F
机译:在客户机/服务器软件系统中,客户机通常通过动态生成要解释为SQL查询的字符串来与数据库服务器交互。传递可能在语法上正确或不正确或类型正确的原始字符串数据的做法承认存在运行时错误的可能性,并且通过对它们开放注入攻击而损害了数据库的安全性。在本文中,我们提出了针对SQL核心子集的静态类型系统。粗略地说,如果动态引用的SQL查询仅引用目标数据库中存在的表名和字段名,并且属于查询主体的范围,并且使用了这些名称,则对于该数据库实例,应使用正确的类型引用均类型正确。我们为子集提供形式语义,并提供定理,说明类型系统的健全性。我们还将介绍基于此处介绍的类型系统的类型检查器的实现。该检查器在F中实现

著录项

  • 作者

    Roan, Ryan C.;

  • 作者单位

    University of Wyoming.;

  • 授予单位 University of Wyoming.;
  • 学科 Computer science.
  • 学位 M.S.
  • 年度 2014
  • 页码 66 p.
  • 总页数 66
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号