Lecture 14: Cross Site Scripting attacks
Quiz
•
Computers
•
•
Practice Problem
•
Hard
Alejandro Gomez
Used 3+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is web browsing stateful or stateless?
Stateful
Stateless
Both
All answers are valid
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What's the main purpose of a cookie?
To sniff user traffic in order to authenticate the user on a website
To verify the version of the browser the user is using to access a website
To enable web servers to store stateful information on the user's device or to track the user's browsing activity
All answers are correct
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which header can we use to ensure a cookie can only be accessed using HTTP or HTTPs but not using javascript?
Secure cookie
HttpOnly cookie
Persistent cookie
Third party cookie
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which are the three main types of XSS attacks?
reflected, redirected, persistent
reflected, csrf , persistent
injected, persistent and reflected
persistent, reflected and DOM based
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How can XSS attacks be prevented?
Blocking the execution of local website javascript content
Filtering input on arrival and encoding output
Using appropriate response headers and Content Security Policies
All answers are correct.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What kind of attack did Samy Kamkar triggered in myspace?
Reflected XSS
SQLi
Stored XSS
CSRF
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is the different between stateful and stateless apps?
Stateless apps require to store the users session on the server, while stateful apps don't require it
Stateful apps require to store the users session on the server, while stateless apps don't require it
Stateful apps uses signed JWT tokens that are stored on the client side, while stateless apps use cookies
Stateless apps uses signed JWT tokens that are stored on the client side, while stateful apps use cookies
8.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How can CSRF attacks be prevented?
Using a referer header
Using a CSRF token
Using a javascript signed cookie
All of the answers are correct
Similar Resources on Wayground
9 questions
Chromebook S3 Quiz
Quiz
•
6th - 10th Grade
12 questions
Ciencias de la computación
Quiz
•
5th Grade
10 questions
App Moviles
Quiz
•
1st Grade
10 questions
AIJ Test 1 Firewall Jaringan
Quiz
•
9th - 12th Grade
10 questions
Android
Quiz
•
University
13 questions
G Suite
Quiz
•
4th Grade - Professio...
12 questions
Media Social Quiz
Quiz
•
University
10 questions
แบบทดสอบก่อนเรียน เรื่อง การเก็บรวบรวมข้อมูลข้อมูลแบบปฐมภูมิ
Quiz
•
11th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
85 questions
Word Processing Review
Quiz
•
8th - 9th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
30 questions
Google Sheets Quiz
Quiz
•
5th - 7th Grade
15 questions
Google Docs
Lesson
•
5th - 7th Grade
31 questions
Python Conditionals Review
Quiz
•
9th - 12th Grade
