# Securing your database

While exposing your database as a service through direct queries from a client-side application (the serverless approach), security is heavily impacted. In order to address this, you can use Firebase's authentication service and adjust the security rules accordingly from the project's dashboard.

{% embed url="https://www.youtube.com/watch?v=b7PUm7LmAOw" %}
