If you set your word processor background document color to black, and set the letter color to only-slightly-less black, you can read it when you’re close and right in front, but not when you’re further back or to the side.
This also works if your screen is white, and you use very-nearly-but-not-quite white letters.
Rosemary Kirstein is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com