Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Cross-site scripting, cross-site request forgery, session token?

También llamado: cross-site scripting · cross-site request forgery · session token

Definition 29.6 University Computer Science — Year 3 · Capítulo 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.
Leer en el capítulo →