> For the complete documentation index, see [llms.txt](https://enterprise-ipi-en.hideez.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enterprise-ipi-en.hideez.com/ipi-enterprise-server/administration/data-protection.md).

# Data Protection

IPI Enterprise Server – Data protection

{% hint style="info" %}
Data Protection ensures the secure storage of sensitive data in the database, such as device encryption keys, passwords, and OTP secrets.
{% endhint %}

### **Protected Data:**

* **Device Keys**: Encryption keys for Security Keys.
* **Passwords**: Including "Shared Account" passwords.
* **OTP Secrets**: Temporarily stored during transfer to devices.

### **How It Works**

Sensitive data fields in the database are encrypted using AES-256 encryption. The master encryption key is itself encrypted using a system-installed certificate. This key is decrypted at server startup, and all protected data is decrypted as needed.

### How to Configure Data Protection

1. Go to the **Dashboard** and click **Configure** in the Data Protection section, or navigate to **Settings → Data Protection**.

<figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-06b3a2d8655ee51516a388fb8c1c07d0f092d423%2FScreenshot_3%20(5).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

2. Enter a password for the certificate and download the certificate.\
   (If you don't have a certificate, you can create a self-signed one.)

<figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-63119da06de6109e34225ac60c0f591c11b0f4fd%2FScreenshot_14%20(3).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

3. Click **Enable Protection**.
4. Choose the downloaded certificate and enter the password from Step 2.
5. Check the boxes:
   * "I made a backup and I am aware of the potential risks"
   * "I have shut down all standby servers and will install the certificate as soon as they are restarted"
6. Click **Next** to complete the configuration.
7. Choose **Restart Now** or **Restart Later** to apply the changes.

<div><figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-212961f34865701804ec3a8e74bdeafe2dad1fd5%2FScreenshot_13%20(2).png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-1defcf05a9345cda0596ede1078cd8b95102d0a6%2FScreenshot_7%20(4).png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-9920644d623ff36dfc1d709d136331adea54bb4d%2FScreenshot_8%20(3).png?alt=media" alt=""><figcaption></figcaption></figure></div>

**Now Data Protection is enabled.**

<figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-94fc0889f8c1da5a75cd63233fcd768ee46936b1%2FScreenshot_10%20(5).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

You can also:

* **Change the Data Protection Certificate** or

<figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-4357bb073c776a6de613d84b95a273547e4da989%2FScreenshot_11%20(8).png?alt=media" alt="" width="279"><figcaption></figcaption></figure>

* **Disable Data Protection** when needed.

<figure><img src="https://2664185294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABkYqOD4zp314dETCDQJ%2Fuploads%2Fgit-blob-ffe603a779bff6c4db7f0476c9d2f1fb2680bdca%2FScreenshot_12%20(4).png?alt=media" alt="" width="279"><figcaption></figcaption></figure>
