Reader small image

You're reading from  Truffle Quick Start Guide

Product typeBook
Published inJun 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789132540
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Nikhil Bhaskar
Nikhil Bhaskar
author image
Nikhil Bhaskar

Nikhil Bhaskar is the founder and CEO of Ulixir Inca newly founded tech company that builds decentralized and traditional software. He completed B9lab's Ethereum Developer Course, and he is now a certified Ethereum developer. Aside from running Ulixir, he spends his time traveling and eating. He is a bit of a digital nomad; this year, he's lived in five countries and plans to live in six more before the year ends.
Read more about Nikhil Bhaskar

Right arrow

Security best practices

As you may recall, in previous chapters, we created a password.txt file in the root level of our project containing the password to unlock our coinbase account. This was stored in plain text. Of course, this is not the best way to store your passwords: out in the open, in plain text.

How do we make it more secure?

You can put the password.txt file in your .gitignore file. This way, it won't be tracked by Git's version control.

For all other sensitive phrases, passwords or keys, it is also best to store a hard copy of them. In other words, store them offline. Why? This way, your sensitive data is not vulnerable to hackers. If it is offline, only you have it. So, a good idea is to store your passwords on a sheet of paper.

Of course, the next big question is, what if you lose that sheet of paper? It is a single point of failure. Well, the answer...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Truffle Quick Start Guide
Published in: Jun 2018Publisher: PacktISBN-13: 9781789132540

Author (1)

author image
Nikhil Bhaskar

Nikhil Bhaskar is the founder and CEO of Ulixir Inca newly founded tech company that builds decentralized and traditional software. He completed B9lab's Ethereum Developer Course, and he is now a certified Ethereum developer. Aside from running Ulixir, he spends his time traveling and eating. He is a bit of a digital nomad; this year, he's lived in five countries and plans to live in six more before the year ends.
Read more about Nikhil Bhaskar