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.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Cross-site scripting, cross-site request forgery, session token?
又称: cross-site scripting · cross-site request forgery · session token