EXAM 1 Flashcards

(22 cards)

1
Q

Why is accepting user input into a website poses a significant security risk. Provide at least two examples of potential attacks related to unvalidated input.

A

Input could contain harmful code, two examples being Cross-site scripting(XSS) and SQL injection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the concept of a layered security strategy for websites and web applications

A

Layered security involves implementing multiple security mechanisms in case one fails.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define a denial of service (DoS) attack

A

Spamming requests to a specific website / service to deny users of the service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Provide one common of DoS example of this type of attack. Briefly explain its objective.

A

Ping flood, where target is flooded withe request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Outline the six phases of the traditional Software Development Life Cycle (SDLC)

A

Systems analysis,
Designing,
Implementation,
Testing,
Acceptance
Deployment
Maintenance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of a Common Gateway Interface (CGI) script? In the context of security, what is one crucial practice to follow when developing CGI programs?

A

CGI is used with user input and is used for retrieving information with the request from other services / programs

Input sanitization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In which phase is the actual code written? for the SDLC?

A

Implementation Phase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does sandboxing do in web browsers?

A

Prevents writing / deletion of files on the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is WhiteBox Testing?

A

Attacker has ALL access to the system / information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is BlackBox testing?

A

Attacker has no knowledge of the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is GreyBox Testing?

A

Attacker knows a little bit about of the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain the difference between the Software Development Life Cycle (SDLC) and the Secure Software Development Life Cycle (SSDLC)

A

SSDLC was made with security in mind, meaning everything is built with security being one of the priorities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

From a business standpoint, why is it important to conduct website vulnerability and security assessments?

A

It’s important to conduct website vulnerability and security assessments to reduce the risks of security breaches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some best practices for securing web applications ?

A

Input sanitization, Never rely on client side sanitation, Assume All input is malicious.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some benefits to using Web Applications?

A

Not installed on disk,

Can be accessed from anywhere with internet

OS Independent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are some Web Application Disadvantages?

A

Performance

Browser support

Support Difficulty, no one knows where to go to get help with a bug.

16
Q

What is Server-Side Rendering?

A

Client sends request to a a server for content, and Rendering is performed on the web server and sends it to the client as is

17
Q

What is Static Site Generation?

A

Website stored on Content delivery network and is already ready to display

18
Q

What is a Single Page Application? (SPA)

A

Loads one page, and if required updates the content of the page through API’s

19
Q

What is a Progressive Web Application?

A

Runs like native app but does not reside on the device it is running on

20
Q

What is an Application Programming Interface?

A

An API is a messenger that lets two programs talk to each other.