News Feed
Sections




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

WebReference.com:
Security Techniques
May 14, 2007 @ 11:43:00

Filed under their "Advanced Topics" sections today is a new article from WebReference.com that looks at some security techniques developers can use in their apps to help keep their and their user's information safe from prying eyes. It's an excerpt from Larry Ullman's book "PHP 5 Advanced: Visual QuickPro Guide".

This chapter will begin by rehashing the fundamentals of secure PHP programming. These are the basic things that I hope/assume you're already doing. After that a quick example shows ways to validate different kinds of data that might come from an HTML form.

The third topic is the new-to-PHP 5 PECL library called Filter. Its usage isn't very programmer-friendly, but the way it wraps all of the customary data filtering and sanitizing methods into one interface makes it worth knowing. After that, two different uses of the PEAR Auth package show an alternative way to implement authorization in your Web applications. The chapter will conclude with coverage of the MCrypt library, demonstrating how to encrypt and decrypt data.

The security tips in this part of the series range from turning off register_globals (you do have it off, don't you?) to form validation with things like regular expressions and the ctype functions.

0 comments voice your opinion now!
excerpt security technique basic advanced form validation excerpt security technique basic advanced form validation


blog comments powered by Disqus

Similar Posts

SecurityFocus.com: PHP Security From The Inside (Interview with Stefan Esser)

Eran Galperin's Blog: Database Optimization Techniques You Can Actually Use

Jared White's Blog: Willowgarden Highlight: Easy Processing of Form Input

Secunis.com: Travelsized CMS index.php Cross-Site Scripting Vulnerabilities

Secubos.com: Cross-Site Scripting Vulnerability in phpFaber


Community Events





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


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

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