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
Our company is looking for a brilliant PHP Developer to join our dynamic and young online media agency. Must have: - Knowledge in Databases and SQL, proven coding and indexin

Interactive music playing website uising HTML and Javascript Fundamentally we're looking to recreate (and previously turntable.fm), nevertheless using a third party music servic

LinkedIn JavaScript API on WordPress site I would like assistance implementing LinkedIn JavaScript API so users of my WordPress site can "Sign In With LinkedIn". The goal is

Question: (a) Briefly describe open source technologies, outlining the difference between open source technologies and free technologies. (b) Show advantages of using open

Total makeover of existing bilingual website with SEO • Offer an eye-catching, multilingual, easy to navigate and searchable website template offering several interactive featur

Modify auth on code igniter for cakephp auth, SSO lite Project Description: I start to develop apps with cakephp, but now i wish to add forum made with code igniter. i nee

want a Workflow Designer (HTML5) Project Description: I am seeking an HTML5 designer for a custom workflow tool. It should have drag and drop functionality. Saving it as XML

website development 1. You want to have ideal about different time zone at the world, instance, USA have few different time zone, Los Angeles, New York, and USA change time twic

1. Develop a program to move a text along with mouse pointer. 2. Develop a program to change color of text randomly. 3. Develop a Web page using two image file

Simple e-commerce reservation system We have a modest system, urgent want for a developer to build a system that allows users to reserve one of six products for a $50 fee. Th