Lecture 14: Cross Site Scripting attacks

Quiz
•
Computers
•
•
Hard

Alejandro Gomez
Used 3+ times
FREE Resource
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
10 questions
Flutter Quiz

Quiz
•
University
10 questions
Week 10 - Cyber Attacks Exercise 2

Quiz
•
University
10 questions
AIJ Test 1 Firewall Jaringan

Quiz
•
9th - 12th Grade
8 questions
Curso IPv6 Básico a Distância - M3Q2

Quiz
•
University - Professi...
10 questions
Technical Terms - Internet (A-Z) - REST

Quiz
•
12th Grade
10 questions
Cybersecurity Quiz: 5.17 Labs

Quiz
•
11th Grade
12 questions
Flutter

Quiz
•
12th Grade
10 questions
Flutter Post Test

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade