Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Truffle Quick Start Guide

You're reading from   Truffle Quick Start Guide Learn the fundamentals of Ethereum development

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781789132540
Length 170 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Nikhil Bhaskar Nikhil Bhaskar
Author Profile Icon Nikhil Bhaskar
Nikhil Bhaskar
Arrow right icon
View More author details
Toc

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image