Thu 29 Oct 2015 13:52 - 14:15 at Grand Station 3-5 - Session the Second Chair(s): Karim Ali

In this paper we challenge the widely accepted practice that web applications must be trusted with user data. We present an alternative model based on logic programming, where user data and applications are equal peers in a shared cloud environment. User data is represented as a set of facts. The application is represented as a set of rules defining how user data is to be processed, but is not given direct access to the data. This way, users remain the owners of their own data, able to determine who can see it and who can modify it. For concreteness, we define a data representation and query language, named Cloudlog, for a new family of NoDatalog databases. We add access control to the language for guaranteeing that the rules provided by the application cannot change the choices made by users. We demonstrate how business logic can be expressed in Cloudlog, and discuss how an efficient Cloudlog-based database can be implemented.