International Journal of Applied Information Systems |
Foundation of Computer Science (FCS), NY, USA |
Volume 11 - Number 4 |
Year of Publication: 2016 |
Authors: Siddhesh Bhagat, R. R Sedamkar, Prachi Janrao |
10.5120/ijais2016451600 |
Siddhesh Bhagat, R. R Sedamkar, Prachi Janrao . Preventing SQLIA using ORM Tool with HQL. International Journal of Applied Information Systems. 11, 4 ( Sep 2016), 44-47. DOI=10.5120/ijais2016451600
Web based systems nowadays follow 3-tier architecture for implementation of enterprise application. But these applications are more prone to security breach and loss of confidential information stored in database. One of the more serious attacks is known as Structured Query Language Injection (SQLI). This attack retrieves data without leaving any trace behind. This paper proposes an efficient solution called Object Relational Mapping technique for such kind of attack in a novel way. ORM maps the table architecture with corresponding Objects and uses those objects to retrieve data instead of getting data directly from database . Therefore it creates a indirect barrier from firing SQL query preventing direct access to database. In addition ORM Methodology satisfies desired criteria of loose coupling while coding.