You can use encryption to keep your sensitive information safe or store it on an encrypted drive. Else including using a password manager or encryption software. There's a good way to protect all passwords in one place. Do it with strong cryptography is by utilizing some form of protection like this!