
Week 12 - web security 2
Authored by Tze Tok
Arts
1st - 5th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
XSS can be prevented by
input validation and output encoding
Same Origin Policy
Cross Origin Policy
Content Security Policy
Data authentication of scripts
2.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Where can SQL injection be performed
Web forms
Browser URL
PDF documents
Note pad
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The image is an example of __________ against SQL injection
Filtering (Black listing)
Replacing dangerous characters with encoding
Parameterized queries
Reassigning variables
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which is true about XSS
The developers of the application are the ones at risk
Its main target is the application itself
It is a form of code injection
XSS attacks run a script in the browser that was not written by the web application owner
5.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which html tag(s) is used by the attacker to perform XSS
<div>
<script>
<exe>
<npm>
6.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which DOM code is executes the script tag?
document.querySelectorAll()
document.Inject()
document.queryAll()
document.querySelector()
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Non-persistent XSS is known as
Stored XSS
Reflected XSS
DOM-Based XSS
Request-Based XSS
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?