Chapter 12 - Cookies, Sessions and Authentication Flashcards

1
Q

Fundamentally, HTTP is what kind of protocol?

A

A stateless protocol

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

What is a session?

A

A major tool in maintaining information, for the duration of a user’s time on a website.

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

What can a session be based on?

A

Duration or time or duration of browser session.

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

How do sessions operate?

A

By passing a unique, random identifier between the client and the server.

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

Why should session identifiers be kept private?

A

They often represent a logged-in state.

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

What is the difference between hashing and encryption?

A

Hashed values cannot be recovered.

Encrypted values can.

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