Oct
27
Easy DPS Payment Express interface for PHP
Filed Under DPS, PHP, Security | 5 Comments
DPS are New Zealand’s biggest player in the payments gateway business. They’ve been around for as long as I’ve been building E-Commerce sites which must be at least 6 or 7 years now.
Their main service for handling card processing on sites is Payment Express, or PX. It’s been through a number of different [...]
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
16
Symfony HTTP Authentication Filter
Filed Under PHP, Security, Symfony | 4 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 [...]
