wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Web application security

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Out of the following which one can be considered as a possible solutions for SQL injection vulnerability?

a)

Input Data Validation

b)

Secure Cookies

c)

Encryption

d)

Exception Handling

2.

which of the following layers are related to application security in OSI model

a)

Application layer

b)

Presentation layer

c)

Session layer

d)

All the above

3.

In Cross Site Scripting, the primary target is which of the following ?

a)

Client (browser)

b)

Database

c)

Web server

d)

Web application

4.

Out of the following which can be considered as user input for which validation is not required

a)

Host Header

b)

cookies

c)

Referrer Header

d)

None of the above

5.

Which of the following can be stored in the cookie?

a)

Session ID

b)

Account privileges

c)

username

d)

password

6.

What are the fundamental principles of Security?

a)

Availability, Integrity, Confidentiality

b)

Usability, Reliability, Accountability

c)

Quality, Accountability, Integrity

d)

All the above

7.

What flaw arises from session tokens having poor randomness across a range of values?

a)

Insecure Direct Object References

b)

Session Replay

c)

Session Fixation

d)

Session Hijacking

8.

Which attack can execute scripts in the user's browser and is capable of hijacking user sessions, defacing websites, or redirecting the user to malicious sites?

a)

SQL Injection

b)

Cross site scripting

c)

Malware uploading

d)

man-in-the-middle attack

9.

The attack exploits the trust that a site has in a user's browser.

a)

Session Hijacking

b)

Cross Site Request Forgery

c)

SQL Injection

d)

Cross Site Scripting

10.

What does “White List” data validation means?

a)

Data is validated against a list of values that are known to be valid

b)

Data is validated against a list of values that are known to be invalid

c)

Accepting all inputs

d)

None of the above