# How to encrypt the account and password when logging in？

**URL:** <https://community.grafana.com/t/how-to-encrypt-the-account-and-password-when-logging-in/69406>\
**Category:** Authentication\
**Tags:** login, auth\
**Created:** [July 26, 2022, 8:47am UTC](https://community.grafana.com/t/how-to-encrypt-the-account-and-password-when-logging-in/69406 "2022-07-26T08:47:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daixiaohudxh](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daixiaohudxh/32/26906_2.png) [@daixiaohudxh](https://community.grafana.com/u/daixiaohudxh)\
**Post date:** [July 26, 2022, 8:47am UTC](https://community.grafana.com/t/how-to-encrypt-the-account-and-password-when-logging-in/69406/1 "2022-07-26T08:47:56Z")

</div>

grafana the account and password at login are not encrypted ，How to encrypt the account and password when logging in？

 ![iShot_2022-07-26_16.46.59](https://us1.discourse-cdn.com/grafana/original/3X/a/1/a1f822678077ee51ce9eae7e824d2fc4d4fc7a7f.jpeg)

---

<div class="post-metadata">

**Author:** ![usman.ahmad](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/usman.ahmad/32/29706_2.png) [@usman.ahmad](https://community.grafana.com/u/usman.ahmad)\
**Post date:** [July 26, 2022, 8:57am UTC](https://community.grafana.com/t/how-to-encrypt-the-account-and-password-when-logging-in/69406/2 "2022-07-26T08:57:07Z")

</div>

Hi @daixiaohudxh , welcome to the :grafana: community.

Yes, it is very important to secure your Grafana server and login (auth) is one of them.

Please have a look at this page where it gives a very nice summary what important steps need to be taken to secure your machine.

> **[How secure is your Grafana instance? What you need to know | Grafana Labs](https://grafana.com/blog/2022/02/22/how-secure-is-your-grafana-instance-what-you-need-to-know/)**
>
> With Grafana's out-of-the-box security features, you can protect your instances against vulnerabilities and create security audit dashboards.

Also,

as a starting point, you can also setup a HTTPS (via SSL) behind a reverse-proxy (e.g. Nginx) and a firewall to limit the traffic who can access the server.

Hope this helps you to get started in securing your server.
