skip to main content
10.1145/2554850.2554995acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Practical implementation techniques of ambient calculus in conventional dynamic languages

Published:24 March 2014Publication History

ABSTRACT

This paper is about a concrete implementation of Safe Ambients (SA) in a conventional dynamic language that can be used for practical distributed programming. Although there have been several studies about the distributed implementation of SA, these implementations have involved the use of special-purpose abstract machines. Specifically, network communication mechanisms supporting secure packets and mobile codes are assumed to be embedded in the abstract machines at a high-level of communication abstraction. Furthermore, the interpretation of Safe Ambient programs by the abstract machine incurs significant runtime overheads. To overcome such problems, we propose a compiler from SA to the higher-order applied π-calculus, which has constructs for explicitly representing both cryptographic communication and code migration. The compiled code can be easily translated to the actual code in any dynamic programming language that supports the standard network communication and eval. Furthermore, by taking advantage of the low-level representation of the generated code, we discuss several security concerns related to the secure implementation of SA in public networks.

References

  1. M. Abadi and C. Fournet. Mobile values, new names, and secure communication. SIGPLAN Notices, 36(3): 104--115, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Bugliesi and M. Giunti. Secure implementations of typed channel abstractions. In POPL '07, pages 251--262, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. L. Cardelli and A. D. Gordon. Mobile ambients. Theoretical Computer Science, 240(1): 177--213, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. C. Fournet, J. Levy, and A. Schmitt. An asynchronous, distributed implementation of mobile ambients. Theoretical Computer Science: Exploring New Frontiers of Theoretical Informatics, 1872: 348--364, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. P. Giannini, D. Sangiorgi, and A. Valente. Safe ambients: Abstract machine and distributed implementation. Science of Computer Programming, 59(3): 209--249, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. Gorla and R. Pugliese. Dynamic management of capabilities in a network aware coordination language. Journal of Logic and Algebraic Programming, 78: 665--689, 2009.Google ScholarGoogle ScholarCross RefCross Ref
  7. F. Levi and D. Sangiorgi. Mobile safe ambients. ACM Transactions on Programming Languages and Systems, 25(1): 1--69, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. D. Sangiorgi and D. Walker. The Pi-Calculus: A Theory of Mobile Processes. Cambridge University Press, New York, USA, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. N. Sato and E. Sumii. The higher-order, call-by-value applied pi-calculus. In Programming Languages and Systems, volume 5904, pages 311--326. Springer, Berlin, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J.-B. Stefani. A calculus of higher-order distributed components. Technical Report RR-4692, INRIA, Jan. 2003.Google ScholarGoogle Scholar

Index Terms

  1. Practical implementation techniques of ambient calculus in conventional dynamic languages

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SAC '14: Proceedings of the 29th Annual ACM Symposium on Applied Computing
      March 2014
      1890 pages
      ISBN:9781450324694
      DOI:10.1145/2554850

      Copyright © 2014 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 24 March 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      SAC '14 Paper Acceptance Rate218of939submissions,23%Overall Acceptance Rate1,650of6,669submissions,25%
    • Article Metrics

      • Downloads (Last 12 months)0
      • Downloads (Last 6 weeks)0

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader