Oct
25
SSL Redirect Filter for Symfony
Filed Under PHP, Security, Symfony | 7 Comments
Serving secure pages on a website is made a lot easier by having both your secure and insecure pages served by the same files - all you need to do is change the scheme from http:// to https:// and you’re done. But how do you manage which pages should redirect to the secure server? [...]
Oct
20
PHPCheck released: PHP environment test tool
Filed Under Open Source, PHP | 1 Comment
A confession: it’s been over a year since I wrote this bit of code, with the intention of making it available to all and sundry. Clearly I haven’t had quite the time that was required to build a page and post it up on the web somewhere, but now I’ve got this blog going again [...]
Oct
16
Symfony HTTP Authentication Filter
Filed Under PHP, Security, Symfony | 7 Comments
Every so often I need to password protect a web project so that only other developers or the client can access the site. I could build a user authentication system into the project itself, but that’d be overkill considering it won’t be used during the production life of the site. This leaves the [...]
Sep
7
php|architect’s Guide To PHP Security
Filed Under Books, PHP, Security | Leave a Comment
Ilia Alshanetsky’s book php|architect’s Guide to PHP Security has just been released and I ordered my copy this morning (hopefully early enough to have Ilia’s signature on the inside cover!). As with the other php|architect publications the PDF version is available to purchasers so I downloaded it to whet my appetite while I wait out [...]
