Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Security

Security involves implementing measures and best practices to protect the application and its data from malicious attacks and vulnerabilities.

Security risks may be of different nature: data privacy, identity usurpation, resource abuse, privilege escalation, resource access.

Security applies to PHP itself, and also to the application written with it.

<?php

   // classic example of a XSS injection
   echo $_GET['a'];

?>

Documentation

See Also