About 99,400 results
Open links in new tab
  1. How can I prevent SQL injection in PHP? - Stack Overflow

    Sep 13, 2008 · You can prevent SQL injection if you adopt an input validation technique in which user input is authenticated against a set of defined rules for length, type and syntax and also against …

  2. What are good ways to prevent SQL injection? [duplicate]

    May 17, 2015 · SQL injection should not be prevented by trying to validate your input; instead, that input should be properly escaped before being passed to the database. How to escape input totally …

  3. mysql - PHP MySQLI Prevent SQL Injection - Stack Overflow

    Apr 29, 2013 · PHP MySQLI Prevent SQL Injection [duplicate] Asked 12 years, 7 months ago Modified 5 years, 7 months ago Viewed 66k times

  4. Java - escape string to prevent SQL injection - Stack Overflow

    I'm trying to put some anti sql injection in place in java and am finding it very difficult to work with the the "replaceAll" string function. Ultimately I need a function that will convert any exi...

  5. best way to prevent sql injection in php 8 - Stack Overflow

    Feb 23, 2021 · I want to know is there any other way to prevent SQL-injection in PHP-8? I see these methods are for PHP 5 and PHP 7 to prevent SQL injection. but what should we do in PHP 8?

  6. regex expressions prevent sql/script injection - Stack Overflow

    Use proper escaping facilities in your server side code to escape SQL parameters, and text that you are going to insert into HTML, or elsewhere. Preventing any injection possibilities and removing the need …

  7. Is SpringBoot Data JPA Repository Safe Against SQL Injection?

    Sep 6, 2022 · The example you claim is not safe against SQL injection is extremely safe, since it doesn't compile and therefore can't be executed at all except when instanceName is a compile time …

  8. c# - Avoiding SQL injection without parameters - Stack Overflow

    Actually, sql server can re-use the query plan whether you use parameters or not. I agree with the other arguments, but for most cases the performance argument for parameterized sql doesn't fly anymore.

  9. How do I stop PHP XSS withing this anti SQL-injection script?

    Sep 2, 2023 · SQL injection and XSS have nothing to do with each other. SQL injection is when you build SQL queries dynamically and you allow variable input. XSS is when you output data into HTML …

  10. Preventing SQL injection in Node.js - Stack Overflow

    Is it possible to prevent SQL injections in Node.js (preferably with a module) in the same way that PHP had Prepared Statements that protected against them. If so, how? If not, what are some examp...