---
title: "Comment by Amolo on \"HarperDB Instance w/ React\" | Hashnode"
description: "Great article. However is it a good practice to put the username and password on the frontend. Can you also clarify this Victoria Lo ??"
url: "https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60c606a31679ed6f51a27eac"
---

[Discussion](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172)

Comment [HarperDB Instance w/ React](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172)

[Amolo](https://hashnode.com/@amolo)

[Jun 13, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60c606a31679ed6f51a27eac)

Great article. However is it a good practice to put the username and password on the frontend. Can you also clarify this [Victoria Lo](https://hashnode.com/@victoria) ??

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 14, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60c606a31679ed6f51a27eac#reply-60c6c22f1679ed6f51a28828)

Very excellent question [Amolo](https://hashnode.com/@amolo)! As you know, storing anything on the client is never 100% secure. For quick development and testing, the steps shown in this article would suffice. In actual production, always store important credentials and API keys in server-side.

Here's a [helpful article](https://medium.com/swlh/keeping-env-variables-private-in-react-app-fa44a9b33c31#:~:text=Are%20the%20sensitive%20API%20keys,Unfortunately%2C%20the%20answer%20is%20NO.&text=WARNING%3A%20Do%20not%20store%20any,by%20inspecting%20your%20app's%20files.) that discusses on this topic.
