"Best Practices Against Hacking" By Google!
February 23rd, 2009 | RSS Feed
Hacking is a major problem that is increasing day by day. The Internet world is flocked with hundreds of, infact of thousands of anti hacking software but their effectiveness is still in question! In a recent post at Google's Webmaster Central blog, Search Quality Team of Google talks about two most common attacks resulting in hijacked websites: SQL injection and cross-site scripting (XSS).
In order to prevent SQL injections, "it's a good practice to add a layer between a form on the front end and the database in the back end. In PHP, the PDO extension is often used to work with parameters (sometimes called placeholders or bind variables) instead of embedding user input in the statement. Another really easy technique is character escaping, where all the dangerous characters that can have a direct effect on the database structure are escaped. For instance, every occurrence of a single quote ['] in a parameter must be replaced by two single quotes [''] to form a valid SQL string literal."
For preventing cross-site scripting (XSS), Google recommends the following measures:
Tune into the post for more information!
Click here to subscribe to our RSS feed to get a daily digest of news around search engine industry. PageTraffic SEO Blog is updated four times a day and is ranked as one of the best search engine resources blog by Pandia!
Did you like this article?
Related Posts
Comments
Leave a Reply
Connect with us
SEO Tools
FEATURED CATEGORIES
- adCenter (84)
- AdSense (113)
- AdWords (303)
- Analytics (53)
- AOL (5)
- Ask (101)
- Bing (34)
- Blogging (19)
- Copywriting (1)
- Directory (6)
- Google (1884)
- Industry News (810)
- Keyword Research & Targeting (22)
- Link Building (1)
- Link Popularity (60)
- Live (78)
- Local SEO (7)
- Microsoft (132)
- Mobile Search (13)
- MSN (170)
- PageTraffic Happenings (6)
- Panama (21)
- Pay Per Click (33)
- Reputation Management (1)
- Search Engine Conferences (153)
- Search Engines (95)
- SEO (223)
- SEO Tools (40)
- Social Media (19)
- Tips & Tricks (12)
- Web Marketing (4)
- Yahoo! (571)
- Yahoo! Search Marketing (66)









