How will you avoid sql injection?
Answer / Dharmendra Choubey
To avoid SQL injection in Drupal, always use prepared statements with parameterized queries or escape user input before using it in SQL queries. Also, ensure to enable the Drupal's built-in SQL query caching and sanitize all user inputs.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is drush – how drush is used?
How is user session handled in drupal?
What is the use of module_invoke and module_invoke_all?
What is difference between update and alter query?
What is caching layer?
How will you create theme in drupal and what are the files required for to create theme?
How search works in drupal?
Explain favicon in drupal?
Is drupal a database software?
Why 'search' function in drupal is better than other cms?
What is Drupal invoice generation?
How to handle upgrades in drupal?