News Feed
Sections




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

PHPBuilder.com:
Mitigate the Security Risks of PHP System Command Execution
January 29, 2010 @ 09:47:19

PHPBuilder.com has a new article from Jason Gilmore on security in command-line applications posted today and what you can do to help protect your scripts from unwanted system command access.

In this tutorial, I'll show you how to securely execute a variety of system-based commands via a PHP script, demonstrating how to build web applications that can tightly integrate with both the operating system and third-party software.

He mentions the proper filtering of input strings (user input), how it can protect your and your application as well as a few examples of using the PHP execution functions (like exec or passthru) and how to apply the shell escaping commands (like escapeshellarg) as a first layer of security.

0 comments voice your opinion now!
system command execution security escape filter


blog comments powered by Disqus

Similar Posts

NewsForge: New kid on the blog: A look at Serendipity 1.0

PHP.net: PHP 5.3.2 Release Announcement

ThinkPHP Blog: SQL injections for dummies - and how to fix them

Techie Talks Blog: Building Secured Web Applications Using PHP - The Basics

Felix Geisendorfer's Blog: My new best friend - PHP's create_function()


Community Events





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


framework list install release laravel interview series podcast unittest introduction community opinion code wordpress refactor language testing developer api threedevsandamaybe

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