# Mautic Data Protection

**URL:** <https://forum.mautic.org/t/mautic-data-protection/25736>\
**Category:** Development\
**Created:** [October 19, 2022, 1:48am UTC](https://forum.mautic.org/t/mautic-data-protection/25736 "2022-10-19T01:48:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nyamupanemunda](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nyamupanemunda/32/6630_2.png) [@nyamupanemunda](https://forum.mautic.org/u/nyamupanemunda)\
**Post date:** [October 19, 2022, 1:48am UTC](https://forum.mautic.org/t/mautic-data-protection/25736/1 "2022-10-19T01:48:53Z")

</div>

How to encryption database user password and hide the password from the local.php file?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [October 19, 2022, 7:13am UTC](https://forum.mautic.org/t/mautic-data-protection/25736/2 "2022-10-19T07:13:18Z")

</div>

You could store password in env. variable and then initialize db\_password in local.php.
