CloudScript

CloudScript is one of PlayFab’s most versatile features. It allows client code to request execution of any custom server-side functionality you can implement, and it can be used in conjunction with virtually anything.

CloudScript enables you to build server-side logic and functionality, that scales to meet your demand without worrying about servers or infrastructure. You can create CloudScript functions that can only be accessed via your service, to prevent any tampering attempts from clients.

For example, you can have a client request a “daily reward” from your game, and trust your server-side validation to prevent granting the reward twice.