Simon Willison’s Weblog

Subscribe

Items tagged csrf, php in 2008

Filters: Year: 2008 × csrf × php × Sorted by date

csrf_protect.php. A PHP class for applying CSRF protection to existing PHP applications, using output buffering to rewrite any POST forms on a page. Heavily inspired by Django’s CSRF middleware. Tell me if you spot any bugs!

# 24th September 2008, 2:52 pm / code, csrf, middleware, outputbuffering, php, projects, security

Types

Years

Months

Tags