DocumentCode :
3035091
Title :
Secure Implementations for Typed Session Abstractions
Author :
Corin, Ricardo ; Deniélou, Pierre-Malo ; Fournet, Cédric ; Bhargavan, Karthikeyan ; Leifer, James
Author_Institution :
MSR-INRIA Joint Centre, Limoges
fYear :
2007
fDate :
6-8 July 2007
Firstpage :
170
Lastpage :
186
Abstract :
Distributed applications can be structured as parties that exchange messages according to some pre-arranged communication patterns. These sessions (or contracts, or protocols) simplify distributed programming: when coding a role for a given session, each party just has to follow the intended message flow, under the assumption that the other parties are also compliant. In an adversarial setting, remote parties may not be trusted to play their role. Hence, defensive implementations also have to monitor one another, in order to detect any deviation from the assigned roles of a session. This task involves low-level coding below session abstractions, thus giving up most of their benefits. We explore language-based support for sessions. We extend the ML language with session types that express flows of messages between roles, such that well-typed programs always play their roles. We compile session type declarations to cryptographic communication protocols that can shield programs from any low-level attempt by coalitions of remote peers to deviate from their roles. Our main result is that, when reasoning about programs that use our session implementation, one can safely assume that all session peers comply with their roles-without trusting their remote implementations.
Keywords :
cryptographic protocols; distributed programming; programming languages; cryptographic communication protocols; distributed programming; language-based support; low-level coding; message exchange; message flow; typed session abstractions; Authentication; Communication system security; Contracts; Cryptographic protocols; Cryptography; Payloads; Programming profession; Reasoning about programs; Remote monitoring; Safety;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Security Foundations Symposium, 2007. CSF '07. 20th IEEE
Conference_Location :
Venice
ISSN :
1940-1434
Print_ISBN :
0-7695-2819-8
Type :
conf
DOI :
10.1109/CSF.2007.29
Filename :
4271648
Link To Document :
بازگشت