






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Electronic Commerce (WS-02/03) 3-
Further improvements:
Electronic Commerce (WS-02/03) 3-
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-
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-
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-
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-
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-
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/