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
We require a Web Developer for simple website I need simple website Consist of PHP, JavaScript, HTML 5 Desired Skills are JavaScript, PHP, HTML5

To work along with Internet and to use its facilities we employ certain tools. For instance, Telnet is a tool that is used for logging on remote computers on the Internet. Let us d

Wordpress Classipress theme customization We are seeking a Wordpress customisation expert who can adapt our original design into Classipress theme keeping the exact same feature

Redesign to Travel Website - Design, SEO, Ease of Use Project Description: We are seeking a dedicated programming team to improve a travel website. To provide upgrades to the

I need help in a Website Updates I do like the make the subsequent changes to my website: 1 Add tag line beneath logo to home page 2 Add about section to right of home page w

Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words accepted#

Wordpress specialist 1) Wordpress install and needed plugins 2) Wordpress theme 3) Wordpress crowd funding plugin or custom made (please specify) 4) Custom details 5

Web Design/Programming (small project) Seeking strong CSS/HTML/Bootstrap skills for a small update to an existing webpage. Existing page wants overall UI updates/content mark

FTP (File Transfer Protocol), a standard Internet protocol, is the simplest way to exchange files among computers on the Internet. Similar with the Hypertext Transfer Protocol (Hyp

Looking for web programmer for start-up (B2C platform plus app, similar Airbnb style) We just started besides need a web programmer who is intended to code only. Desired Skil