Patent ID: 8689181

Claim:
A method performed on one or more servers, comprising: receiving, from a device of a client, a call to a Web service run on the one or more servers, the Web service corresponding to a script that was uploaded to the one or more servers by the client to define the Web service, the script comprising a client-modified script that exists in different versions, including a previous version, that are accessible by the client; authenticating the call to an account; identifying the script corresponding to the Web service; executing, on the one or more servers, code corresponding to the script to run the script, the code producing an output, the code defining a context among multiple contexts in which the script should run, the multiple contexts comprising a user context and a system context, in the user context the script running with permissions or privileges defined for a specified user, in the system context the script running with privileges and permissions for access to administrative functionality and database objects, the Web service handling switching contexts after the script runs; and sending the output to the device.