News Feed
Jobs Feed
Sections




News Archive
Ben Ramsey's Blog:
PECL Input Filter
November 18, 2005 @ 05:12:17

In Ben Ramsey's latest post today, he talks about filtering user input and some of the wealth of discussions that have come up about it on the php-general mailing list.

Richard Lynch even tossed out a few of his ideas concerning the use of a $_CLEAN superglobal variable that would merely serve as a reminder to programmers (through its constant use in the PHP manual) to filter input as a "best practice" (see here and here). Furthermore, on Chris Shiflett's blog, Richard comments that "[s]urely our base solution for minimal Security should be a fundamental part of the PHP language, not some add-on second thought."

I tend to agree with Richard, and that's why I've been paying attention to the PECL Input Filter extension.

Ben starts from the beginning, talking about the Input Filter's roots (from Derick and Rasmus), and Richard's point about security tools being a "fundamental part of the PHP language". He gives an example of a form and how an integrated PHP extension might look to handle the filtering, and his personal opinion on the matter:

It should be noted that it is just as easy to filter input without these built-in functions, but, perhaps, with the inclusion of these functions, it will encourage others to start properly filtering data.

0 comments voice your opinion now!
pecl input filter form extension pecl input filter form extension


blog comments powered by Disqus

Similar Posts

Community News: Latest PECL Releases for 03.06.2007

Quoderat's Blog: Three simple tips for LAMP web site developers

Mike Lively's Blog: Improved PHPUnit Filters

Pierre-Alain Joye's Blog: cache added to htscanner

PHPMaster.com: File Uploads with PHP


Community Events











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


functional example community opinion interview language database rest testing development release phpunit podcast introduction usergroup framework series symfony2 conference zendframework2

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