News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Douglas Brown's Blog:
Three Important Tips to Write PHP Code Defensively
December 23, 2008 @ 16:40:30

Douglas Brown has a few helpful hints to help you write your PHP code defensively, protecting your code from malicious attackers.

The phenomenal growth of PHP applications has also led to a mushrooming of increased quantum of malicious activity. It thus becomes imperative that you write secure PHP code to protect your website. Here are some tips for the same. The three most vulnerable aspects of PHP that can become easily accessible to anyone are XSS (Cross Site Scripting), Global Variables and SQL code.

He details what each is and how you can protect your code against the problems they cause. Some example code is included to give you a better idea of the possible solution.

0 comments voice your opinion now!
defense tip application protect xss global variable sql injection


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: Do Stored Procedures Protect Against SQL Injection?

Project: Patchwork-Doc - JSON Formatted Output of PHP variables

Smackdown Blog: Rackspace Hacked Clients, Check Your Databases: Wordpress "wp_optimize" Backdoor

Lorna Mitchell's Blog: One-Step Symlink Switch

Jaisen Methai's Blog: Stop including class files and use __autoload() instead


Community Events











Don't see your event here?
Let us know!


unittest database hack security overview facebook language install hhvm opinion component application framework package release composer performance podcast introduction symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework