Protection against suspicious data, PHP Web Programming

Input values embedded in SQL statements should be screened for inappropriate characters that can form the basis so-called SQL Injection attacks, a type of security attack that may undermine the SQL statements your PHP code executes.  The built-in PHP function mysql_real_escape_string can help to replace such inappropriate strings with safe input.  Refer to the IT 202 manual index for the use of this function.  Note also the reference in the manual to the Mitre security threat analysis.  The mysql_real_escape_string function transforms the input data it is applied to and the new data is then used for the database interaction.  If the original data was not suspicious, there will be no affect; the changes only affect inappropriate input characters.  Honor's students must use prepared statements.

Posted Date: 3/29/2013 6:14:16 AM | Location : United States







Related Discussions:- Protection against suspicious data, Assignment Help, Ask Question on Protection against suspicious data, Get Answer, Expert's Help, Protection against suspicious data Discussions

Write discussion on Protection against suspicious data
Your posts are moderated
Related Questions
Install Wordpress from back-up I have my back-up for my Wordpress. I want someone who can fix this as well as put my website back online. Desired Skills are MySQL Administrat

Want nodejs expert to slightly modify hipache I am seeking a nodejs expert. Business Description- We vend proxies A proxy is a server that you connect to in order to anonymis

What are the different types of statements which are present in PHP? There are four types of PHP statements which are present. They are as follows: • Simple statement- the

Need WordPress expert with Responsive design experience for "Customizr" theme We want help from a Wordpress guru who can repair bugs with WP Customizr theme [CSS PHP code errors

onLoad & onUnload are mainly utilized for popups that appear while the user enters or leaves the page. Another significant use is in combination along with cookies which should be

Drupal website changes Move a current Drupal website to another server (requires static IP address). Create an addition of a video library to have the capability to add a vid

My business' starter website needs to grow up a little The site was completely homemade when I started my business last year. While it's visually striking, the way it was constr

I need help in Buddypress project I have a Buddypress site that I want some help with please. 1. The job needs that you know how to build a new Buddypress group component. Th

Define a style rule that defines a font-family, font text color, font-size, and background color for the textarea. The style rules can be placed in a style element in the head of

We need a Magento WYSIWYG Editor on CMSPro Extension I consume the CMSPro extension from MageWorld.com. Content parts use a WYSIWYG editor. But I want to change the WYSIWYG edit