Overview
The OWASP Cheat Sheet Series is a collection of practical security guidance maintained by the Open Worldwide Application Security Project community. It covers implementation topics that matter to developers building and maintaining web applications.
Topics relevant to PHP applications
Guides cover areas such as input validation, authentication, session management, password storage, SQL injection prevention, cross-site scripting, file uploads and security headers.
How to apply the guidance
Treat each cheat sheet as a focused engineering reference, not as a substitute for threat modeling or testing. Map the recommendations to the actual architecture of your application. For example, use parameterized PDO queries for database access, output encoding appropriate to the HTML context and secure cookie settings for sessions.
Keep guidance current
Security practices and browser behavior evolve. Check the publication and project status of guidance before adopting it, and review the recommendations when your application or dependencies change.