News Feed
Sections




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

PHP Discovery Blog:
Dangers of Remote Execution
November 21, 2007 @ 13:48:00

On the PHP Discovery blog, there's a new post reminding PHP developers of some of the more dangerous ways that remote execution could effect your site and some of the common entry points it can have.

PHP has numerous ways to execute raw PHP code unless you the programmer stops it. Best way in preventing these methods is making sure you check the input of what your users are inputting, and making sure you escape all malicious actions that a hacker,cracker, kiddy scripter might want to do to your website.

He summarizes four of the things from the Pro PHP Security book from Apress (by Chris Snyder and Michael Southwell) that can leave holes in you application for would-be explots - preg_replace, shell_exec/exec, eval (which we all know is only one letter from "evil" anyway) and require/include.

0 comments voice your opinion now!
danger remote execution pregreplace include eval shellexec exec require danger remote execution pregreplace include eval shellexec exec require


blog comments powered by Disqus

Similar Posts

International PHP Magazine: IPM Poll Question: Which One is Most Dangerous?

SeeIT.com: The include() include_once() performance debate

Felix Geisendorfer's Blog: Include only the JS you really need

SitePoint PHP Blog: What’s your plan for __autoload()?

Matthew Weir O'Phinney's Blog: Zend_Layout and Zend_View Enhanced components now in core


Community Events





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


developer tips list laravel language deployment threedevsandamaybe application community release introduction code api podcast zendserver series interview framework conference development

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