Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Cross-site scripting, cross-site request forgery, session token?

Ook bekend als: cross-site scripting · cross-site request forgery · session token

Definition 29.6 University Computer Science — Year 3 · Hoofdstuk 29 — Software Security

Cross-site scripting (XSS) happens when a page includes text from an adversary without encoding it, so that a script in the text runs in other users’ browsers with the rights of the site. Cross-site request forgery (CSRF) happens when a page on another site makes a user’s browser send a request to the site, which the browser accompanies with the user’s cookies, so that the site performs it as the user. A session token is the random value that a site gives a browser after login, usually in a cookie, and that identifies the session in every later request.

Stored cross-site scripting. The comment is harmless in the database; it becomes code only when it is pasted into HTML, so that is where it must be encoded, for that context.
Stored cross-site scripting. The comment is harmless in the database; it becomes code only when it is pasted into HTML, so that is where it must be encoded, for that context.
Lees in het hoofdstuk →