Skip to main content
Log in

Validating a web service security abstraction by typing

  • Published:
Formal Aspects of Computing

Abstract

An XML web service is, to a first approximation, an RPC service in which requests and responses are encoded in XML as SOAP envelopes, and transported over HTTP. We consider the problem of authenticating requests and responses at the SOAP-level, rather than relying on transport-level security. We propose a security abstraction, inspired by earlier work on secure RPC, in which the methods exported by a web service are annotated with one of three security levels: none, authenticated, or both authenticated and encrypted. We model our abstraction as an object calculus with primitives for defining and calling web services. We describe the semantics of our object calculus by translating to a lower level language with primitives for message passing and cryptography. To validate our semantics, we embed correspondence assertions that specify the correct authentication of requests and responses. By appeal to the type theory for cryptographic protocols of Gordon and Jeffrey's Cryptyc, we verify the correspondence assertions simply by typing. Finally, we describe an implementation of our semantics via custom SOAP headers.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrew D. Gordon.

Additional information

Received December 2003

Revised November 2004

Accepted December 2004 by A. E. Abdallah, P. Y. A. Ryan, S. A. Schneider and D. J. Cooke

Rights and permissions

Reprints and permissions

About this article

Cite this article

Gordon, A., Pucella, R. Validating a web service security abstraction by typing. Form Asp Comp 17, 277–318 (2005). https://doi.org/10.1007/s00165-004-0058-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00165-004-0058-1

Keywords

Navigation