Also, how can one protect a digital product like a book from pirating, plagiarism or copyright infringement?
Information yearns to be free. If your book is worth anything, it will inevitably be pirated