@MASTERSTHESIS\{IMM2012-06478, author = "M. van Zanten", title = "Remote Control of Device behind rewall using a RESTful service", year = "2012", school = "Technical University of Denmark, {DTU} Informatics, {E-}mail: reception@imm.dtu.dk", address = "Asmussens Alle, Building 305, {DK-}2800 Kgs. Lyngby, Denmark", type = "", note = "{DTU} supervisor: Bjarne Poulsen, bjpo@imm.dtu.dk, {DTU} Informatics", url = "http://www.imm.dtu.dk/English.aspx", abstract = "This thesis describes how a Web server on a device behind a firewall can be exposed via a central mediator. Bruel \& Kj{\ae}r is a world-leading manufacturer and supplier of sound and vibration test and measurement solutions. They produce the hand held type 2250 device which is used as a portable device or form part of stationary monitoring systems. The 2250 can be controlled remotely via the Web server present on the device. This currently requires that the Web server can be addressed and that relevant ports are open on firewalls. This project describes how these requirements can be circumvented by introducing a central service to mediate traffic between user and the 2250. State of the art solutions combined with user scenarios are the basis of the requirements for the developed proof of concept prototype. This prototype is based on cloud computing on the Windows Azure platform and RESTful Web service architecture. In relation to these technologies key concepts, risk and risk mitigation are discussed. Based on these technologies the design and implementation of the prototype is chosen and specified. The implementation of the prototype is validated using functional and performance tests. It is found that mediating traffic via a central service hosted on a cloud computing platform is a viable solution, but the increased latency makes it unfit for real time remote controlling. It does however open a wide range of possibilities for controlling a device where response time is not critical. Before this can be used commercially security, scope, and business case have to be defined." }