Week 6 - The WWW Flashcards

1
Q

Name 3 web fundamentals?

A
  • Pages made from HTML.
  • Links/ images as anchors.
  • Links allow progression of pages.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What kind of model is the WWW?

A
  • A client-server system.

* Content held by web servers & requested by client.

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

Describe the HTTP protocol?

Hypertext Transfer Protocol

A
  • Client opens TCP connection to web server, sends HTTP header.
  • Header contains command (get, put, post).
  • Also contain authentication info, cookies.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the 4 HTTP commands?

A
  • GET - retrieve page.
  • PUT - upload files.
  • POST - client sends results.
  • HEAD - same as GET, no response body.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the advantage of HTTP being a stateless protocol?

A

• Hosts don’t need to retain info about users.

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

What is the disadvantage of HTTP being a stateless protocol?

A

• Forces web developers to use alternative methods for maintaining users’ states.

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

Describe what state information is?

A

• Things about the user to improve website usability.

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

What are cookies?

A
  • Piece of text that a web server stores on hard disk.

* Stored as name-value pairs.

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

How does a cookie work?

A
  • When user types a URL, machine looks for cookie if website has been previously visited.
  • If pair found, machine sends to browser to be used.
  • If no pair found, machine creates pair for URL.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are cookies used for?

A

• Sites see how many users visited their site.
• Sites customised to user-specific.
Used for shopping carts.

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

Name 5 problems with cookies?

A
  • Public/ shares machines won’t know different users.
  • Cookie information not permanent.
  • Users have multiple machines.
  • Cross-site profiling.
  • Sell your information.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are third-party cookies?

A
  • Advertising companies use this to track users across sites.
  • Used to target ads at users.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is HTTPS?

A
  • The secure version of HTTP.
  • Authenticates websites.
  • Protects against eavesdropping.
  • Prevents in-transit attacks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some problems with HTML?

A

• Rapid invention of new elements caused interoperability problems on different platforms.

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