A multitool library for implementing a variety of security defences based on known best practices and existing PHP libraries.