Homework4_1_2

Homework4_1_2 - 1 Consider an e-commerce site that wants to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1. Consider an e-commerce site that wants to keep a purchase record for each of its customers. Describe how this can be done with HTTP authentication. Describe how this can be done with cookies. (16 points) In both cases, the site must keep a database record for the user. With HTTP authentication, the user first registers with the site. During each subsequent visit, the user provides a username and password, which allows the site to identify the user and update the user’s record. With cookies, the user does not explicitly provide a username and password. However, browser identifies the user by sending the user’s cookie number each time the user accesses the site. 2. Why is it said that FTP sends control information "out of band"?(16 points) FTP uses two parallel TCP connections, one connection for sending control information (such as a request to transfer a file) and another connection for actually transferring the file. Because the control information is not sent over the same connection that the file is
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/19/2011 for the course CS CS470 taught by Professor Dr.gao during the Summer '10 term at Chatt Tech.

Page1 / 2

Homework4_1_2 - 1 Consider an e-commerce site that wants to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online