# Privacy rules checker

{% hint style="warning" %}
The privacy rules checker runs a thorough analysis of your entire database. Depending on the size of your database, the process can take a few minutes to complete
{% endhint %}

{% hint style="warning" %}
**Note: Privacy rules checks require data**\
To accurately check whether data is visible, the app must contain entries in the relevant data types. Make sure the data types you're testing include sample data so the visibility check can return meaningful results.
{% endhint %}

This dedicated test reviews all data types within an app (and version) to identify which fields are publicly accessible. It checks each data type for potential information leaks, highlighting any fields that are accessible without restrictions for your review. This allows you to inspect and adjust [privacy rules](#user-content-fn-1)[^1] as needed to secure the data.

To instruct the security dashboard which fields are considered sensitive and which are public, you use the data type rating tool, described below.

### Rating data types

To ensure that the test gives a useful and correct result, you can use the Database review tool to map each individual as:

* Safe: the data in the field can be accessible to anyone, including through the Data API.
* Sensitive: the data in the field should be protected with [privacy rules](#user-content-fn-1)[^1], and should not be accessible by anyone without the proper authentication.

Article section: [Tools and setting](https://manual.bubble.io/~/changes/1104/help-guides/security/security-dashboard/security-tests/test-settings) | [Data rating](https://manual.bubble.io/~/changes/1104/help-guides/security/security-dashboard/security-tests/test-settings/data-type-rating)

[^1]: *Privacy Rules* are conditions that you set up on each data type in order to protect the data from being viewed and edited by unauthorized users.

    Article: [Protecting data with privacy rules](https://manual.bubble.io/~/changes/1104/help-guides/data/the-database/protecting-data-with-privacy-rules)
