sql-injection
alternative to exec sql to avoid sql injection is SP_EXECUTESQL?
i have to connect to an existing stored proce开发者_开发百科dure which saves a line of text in the database.[详细]
2023-03-16 06:37 分类:问答Validation and Detection of SQL Injections in PHP
I\'m new to PHP, and not yet familiar with how this works. If I use mysqli_real_escape_string() and parameterize every variable in the SQL qu开发者_JAVA百科ery, can I spare myself doing the validati[详细]
2023-03-15 15:38 分类:问答sql-injection urls, is length of a parameter a security issue?
I\'m getting a lot of hits that involve sql injection attempts that involve increasingly longparameters.I am limiting the parameters in php to cast them as positive ints or zero, but I\'m not certain[详细]
2023-03-15 14:56 分类:问答MySQL Injection Problem
I\'ve been coding my website in PHP lately and I was pretty proud of myself for my good practices of sanitizing my input before I used it in a query.It was all going great until my friend said I need[详细]
2023-03-13 23:24 分类:问答RAILS: safe parameterization of user input in Arel
So before anyone beats the hell out of me, I know how to do this when calling Arel methods. What I\'m curious about is if there is a way to simply get that sql injection safe version of the user input[详细]
2023-03-13 22:55 分类:问答SQL Injection when magic quote is enabled [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicates: Are single quotes escaped automatically in PHP? Then what's the need for cleaning?[详细]
2023-03-13 08:35 分类:问答Expressionengine sending html to database via SAEF form - Safety measures
I\'开发者_运维技巧m using safecracker in expressionengine to display a form to front end users. User can enter html content in one of the fields. How do i sanitize this information before it goes to t[详细]
2023-03-13 08:02 分类:问答Best way to prevent SQL Injection when preparing statement is impossible
I have to work on an old site with major security issues : SQL Injections are really easy to perform.[详细]
2023-03-12 05:34 分类:问答Should numbers from user input be quoted in MySQL queries to help avoid SQL injection attacks?
Should numbers from user input be quoted in MySQL queries to help avoid SQL injection attacks? Say i have a form on a page asking for someone\'s age. They enter their age and hit submit. The followin[详细]
2023-03-11 06:32 分类:问答How to protect yourself against SQL Injection in dynamic queries?
My application get开发者_开发知识库s in a String object query to the database. E.g. String query = EMAIL like \'% test%\' and USER_NAME like \'% user%\'. The query is built dynamically and I do not kn[详细]
2023-03-10 17:39 分类:问答