News Feed
Sections




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

Zend Developer Zone:
PHP Security Tips #6 and #7
March 12, 2007 @ 11:38:00

Continuing in their security theme for the month of March, the Zend Developer Zone has posted two more Security Tips for PHP developers out there:

  • The first tip (#6 on their list) talks about the benefits of casting all of the values going in to your SQL queries. This helps keep you and your data away from things like nasty SQL injection issues that could result in exposure of valuable data.
  • The second tip (#7) focuses on regeneration of session IDs to help prevent fixation. They give an example of how, without it, you could inadvertently allow in unauthorized users. Thankfully, one quick function call can remedy the situation - session_regenerate_id.

Check out their full list for more great tips.

0 comments voice your opinion now!
security tip session fixation sql injection cast query security tip session fixation sql injection cast query


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHP Abstract Episode 1 - PHP Secuity Tips

Josh Adell: Serializing Data Like a PHP Session

Zend Developer Zone: PHP Security Tip #13

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x

Zend Developer Zone: The ZendCon Sessions Episode 4: IBM DB2 with PHP 5.2 and AJAX


Community Events





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


framework voicesoftheelephpant community deployment laravel zendserver api language interview bugfix introduction series conference code symfony release threedevsandamaybe tips podcast list

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