News Feed
Sections




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

Paul Reinheimer's Blog:
Stop Messing up CSRF Protection
November 10, 2008 @ 08:47:53

In his latest post Paul Reinheimer looks at cross-site request forgeries and, despite the best efforts of the PHP security community, how developers still just miss the point in protecting their own code.

So, cross site request forgeries are a pretty common topic these days; they're in almost every security talk, book, site etc. This is okay; they're important [...] Most of the sites, and all of the books I've read demonstrate things correctly, but when it comes to actual implementation, time and time again, I see code that's just wrong.

He looks at two of the "essentials" when it comes to protecting you and your application - comparison (not taking other values of variables into account) and the unpredictable token (not making tokens, like md5 hashes of information, random enough).

0 comments voice your opinion now!
crosssite request forgery csrf comparison unpredictable token random


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: AJAX and PHP Part 3 - Post vs. Get Requests

PHPBuilder.com: Using XML - A PHP Developer\'s Primer (Part 4) - XML-RPC, PHP and Javascript

Sameer Borate's Blog: How not to create a Random string

Debuggable Blog: How To Save Half A Second On Every CakePHP Request

Anthony Ferrara: Seven Ways To Screw Up BCrypt


Community Events

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


unittest community series extension laravel5 language release api wordpress framework version library podcast voicesoftheelephpant opinion laravel php7 introduction interview example

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