> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zbdpay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Making A More Secure Game

> Learn how to make your game more secure by moving game logic to the server.

In this video Souleima shows how as a developer you should move as much of the game business logic as possible to the server. This is key to make your game more secure and mitigate most of the attacks shown in this series. Souleima uses [Microsoft Playfab](https://playfab.com/) to show how this is done. However other options such as [Beamable](https://beamable.com) or the developer's own server can be used.

The main takeaway of this video is that the developer should not use the ZBD API directly in their game client and should instead make API calls from their server.

**Furthermore the ZBD API key should NEVER be stored in the client side**.

<iframe className="w-full aspect-video rounded-lg" src="https://www.youtube.com/embed/bfKwJI7n79Y" title="ZBD Dev - Securing Game" frameBorder="0" allow="accelerometer; fullscreen; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
