~/talk

Securing PHP Applications with Zero Trust Principles

Talkat phpday 2025 · 2025-05-15..05-16· [security, php]
slides:none on file

Zero Trust applied to PHP apps gives concrete fixes not promises: replace session cookies with OAuth2 tokens via Laravel Passport, require MFA and scoped RBAC using JWTs, encrypt PII with OpenSSL or the Laravel Crypt facade, use PHP 8.2 execute_query and input validation to prevent SQL injection, add composer audit and npm audit in CI/CD, monitor with Datadog and rotate tokens, and learn from two real bounties $35,000 and $25,000 illustrated with before/after code examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Zero trust security model
  3. 2:29Zero trust for PHP apps
  4. 4:13Assume breach mindset
  5. 5:16Verify every request
  6. 5:58Least privilege access control
  7. 7:01Core principles
  8. 7:43Laravel gates RBAC
  9. 10:12OAuth2 scope restrictions
  10. 12:19OpenSSL data protection
  11. 14:08SQL injection prevention
  12. 18:00XSS and CSRF prevention
  13. 20:50Secure CI/CD best practices
  14. 22:16Proactive defense and monitoring
  15. 24:00Security testing in pipelines
  16. 25:04Security breach case studies
  17. 27:56Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.