Invention Grant
- Patent Title: Secure client-server communication
-
Application No.: US15486596Application Date: 2017-04-13
-
Publication No.: US10587732B2Publication Date: 2020-03-10
- Inventor: Vincent Burckhardt , Carlos C. Manias Diez , Olgierd Pieczul
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Winstead PC
- Main IPC: H04L29/06
- IPC: H04L29/06 ; H04W4/02

Abstract:
A secure client-server connection method compatible with RESTful (REpresentational State Transfer) APIs (Application Programming Interface) that is resistant to cross-site scripting (XSS) and cross-site request forgery (CSRF) attacks. The server generates a token for the client and a random value which it pairs with the token. The random value is hashed. The hash value is transmitted to the client contained in the token and the random value is transmitted to the client contained in an HTTPOnly cookie. Even if an attacker steals the token and/or the hash, security is maintained, since the server verifies communications from the client by validating the token on the basis of its hash value. Validation is performed by the server hashing the random value contained in the HTTPOnly cookie paired with the token to obtain a further hash value, and checking that this further hash value matches the token's hash value.
Public/Granted literature
- US20180302406A1 SECURE CLIENT-SERVER COMMUNICATION Public/Granted day:2018-10-18
Information query