> For the complete documentation index, see [llms.txt](https://docs.saturncms.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.saturncms.net/1.0.0/dev/libraries-and-functions/databasemanager/dbms/database-security.md).

# Database Security

{% hint style="danger" %}
**Saturn does not automatically escape strings.**

You must ensure you perform this step before passing data into a query.
{% endhint %}

It's important to escape strings before you pass them into the database, as DBMS does not do this automatically.

```php
use Saturn\DatabaseManager\DBMS;
$DB = new DBMS();

$Data = $DB->Escape($Data);

// Now safe to perform a query with the data.
```
