Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Drupal 7 inquiry

May 15, 2013 by DruNew
Hi all
I have an inquiry about Drupal 7. I want to know built in solutions for Drupal 7 SQL injection prevention. I’ve searched for this info but I wasn’t able to find anything productive. Any information would be appreciated
Many thanks

2 Answers

0 votes
May 15, 2013 by RalphK
Views is a module that uses t API.If you use the views filters, the user data will be parameterized to prevent any SQL injection before it actually hits the engine.
This doc shows how to use pass arguments in SQL calls
0 votes
May 15, 2013 by randy999
If you want to integrate tables with Views, you have to  first introduce tables to Views
Drupal 7 uses PDO when connecting or when using query tables as sanitizing.