Docsity

HTTP in Electronic Commerce: Authentication, Sessions, and Security, Slides of Fundamentals of E-Commerce

Toggle sidebar
bg1
3-21
Electronic Commerce (WS-02/03)
HTTP/1.1 (2)
Further improvements:
+Virtual hosts supported via new header field HOST: Several servers can be made
available through a single TCP address (IP-address:port combination). See chapter
3.6).
Host: eurift.sts.tu-harburg.de:80
Host: wips.sts.tu-harburg.de:80
+ New request methods PUT, DELETE, TRACE, OPTIONS
+ Partial transmissions of resource entities (documents)
+Content Negotiation (negotiation of visualization, language, quality, encoding)
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */*
Accept-Encoding: gzip
Accept-Language: de
Accept-Charset: iso-8859-1,*,utf-8
+ Improved Authentication
Identical IP address
(134.28.70.3) and port
distinguished by HOST field
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download HTTP in Electronic Commerce: Authentication, Sessions, and Security and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Electronic Commerce (WS-02/03) 3-

HTTP/1.1 (2)

Further improvements:

  • Virtual hosts supported via new header field HOST: Several servers can be made available through a single TCP address (IP-address:port combination). See chapter 3.6). Host: eurift.sts.tu-harburg.de: Host: wips.sts.tu-harburg.de:
  • New request methods PUT, DELETE, TRACE, OPTIONS
  • Partial transmissions of resource entities (documents)
  • Content Negotiation (negotiation of visualization, language, quality, encoding) Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, / Accept-Encoding: gzip Accept-Language: de Accept-Charset: iso-8859-1,*,utf-
  • Improved Authentication Identical IP address (134.28.70.3) and port distinguished by HOST field

Electronic Commerce (WS-02/03) 3-

HTTP Extensions

o Session Management: Adding session management to the stateless HTTP request/response protocol o User identification and authentication o Security: Adding layers for securing HTTP: S/HTTP, HTTPS, IPSEC o Refresh / Redirect: Trigger actions at the client browser o more...

Electronic Commerce (WS-02/03) 3-

Identification, Authentication and Authorization

o Identification: Identify a subject (a human, a user agent) by an identification (usually a user name). Whenever the identification is used, assume it represents the subject. o Authentication: Make sure the subject is who he/she claims to be, usually by requesting a password. Alternatives are: smartcard, biometrics (iris-scan, fingerprint, voiceprint, etc.). o Authorization: Grant an identified subject rights (accessing, altering, deleting documents). Further reading: [Schm98] Assure a subject is who he/she/it claims to be and yield him/her/it rights accordingly. Purpose

Electronic Commerce (WS-02/03) 3-

HTTP Authentication (1)

Basic Authentication (since HTTP/1.0): o Identification and password are transmitted as plain text. THIS IS INSECURE! Digest Access Authentication (since HTTP/1.1): o Client encrypts identification and password using a one-way function and sends this digest to the server. Server performs same computation and compares results.

Electronic Commerce (WS-02/03) 3-

HTTP Authentication (3)

Security problem not yet solved: o Replay attack: “Man in the middle-attack”: Attacker copies authentication message and replays it to the server, this will authenticate him. Possible solution: Authentication message is only valid one time. For this, encrypt the following items (and combinations thereof) into the client request: o Server-generated nonce (nonce = “number, generated once”) o Client IP-address o Timestamp o Identification o Password o Request method o Requested URI o ...

Electronic Commerce (WS-02/03) 3-

HTTP Security

Three standards exist in different network layers (see slides 3.71, 3.74, 3.75): o HTTPS (Hypertext Transport Protocol over Secure Socket Layer, SSL) o SHTTP (Secure HTTP) o IPSEC (Secure IP protocol) HTTPS is the standard used on the web. SHTTP offers more functionality, but is not widely supported. As with IPv6, IPSEC will be included. It could then replace HTTPS. Secure data transmission is not only relevant to authentication, but also to data transmission. Purpose

Electronic Commerce (WS-02/03) 3-

HTTPS (HTTP over SSL) (2)

SSL design goals (ordered by importance): o Crypto security o Interoperability o Extensibility o Relative usability (session caching avoids recomputation of keys) SSL properties: o Secure and reliable connection (at different security levels) o Optional authentication Problem: o SSL works only with TCP (e.g., not with the UDP protocol). Application services that use UDP (e.g., telnet, ...) cannot use SSL. HTTPS uses https: for protocol prefix. Example: https://www.sts.tu-harburg.de/