Prevent XSS Attacks. Escape Strings in PHP
Here s the special discount link for Rob s course: Get the source code in the Code Snippets section here: Training Center: Subscribe on YouTube: Subscribe on SoundCloud: Subscribe on iTunes: What Is XSS XSS stands for crosssite scripting and it refers to a type of attack where a hacker injects malicious clientside code into the output of your page. Applications that don t escape their output are vulnerable to this type of attack. XSS Example A simple example is a blog comment. If not properly escaped, an attacker could enter (for example) JavaScript code into the blog comment. That code would be stored in the database, output to the page when loaded, and because it s not render
|
|