December 2015
Intermediate to advanced
232 pages
5h 8m
English
I said earlier that an XSS attack happens when someone executes his or her own scripts on your page in the context of your web application. Those scripts are running within your website’s security space, and the application thinks the site is intentionally running the scripts. How you defend against XSS depends on the type of attack you’re facing.
First up is reflected XSS, which is a form of XSS where the injected script is reflected off the web server; see the following illustration. This means the script, or reference to the script, is not stored on the server but reflected from somewhere else. This can be either through a form post or a URL parameter.
This typically happens because the website’s HTML is ...
Read now
Unlock full access