You would use the ScrambleEbook plugin ( see this thread:
ScrambleEbook: Getting help with copyrighted books for more information.
It's main use is to allow you to upload a copyrighted ebook without making the text or images available (the text gets scrambled and the images are replaced with placeholder images) and so keeping the lawyers away.